#include <memory>
#include <string>
#include "GenericElement.h"
#include "OneDimLinearElement.h"
Go to the source code of this file.
◆ createCell()
Registry function for the cell types.
- Parameters
-
| key | The name of the cell type to create. |
| is_boundary_point | Flag whether this element has boundary nodes or not. |
| all_boundary_points | A map containg the types of boundary conditions and all the nodes belonging to that type (to allow for multiple boundary conditions in one element). |
| nodal_values | The node numbers of all nodes within the element. Needed to sort them into the correct position within the matrix. |
| sim | The pointer to the sim class. |
| num_cell | The number of the cell. |
| props | Properties of the element. |
- Returns
- Unique_ptr to a boundary condition object of specified type or nullptr if that type doesn't exist.