23 std::vector<std::unique_ptr<GenericElement<T>>>
all_cells{};
26 std::vector<std::unique_ptr<GenericElement<T>>>&
getCells()
70 this->m_poly_mesh =
mesh;
Concrete implementation of a matrix class representing a Compressed Sparse Rows (CSR) matrix....
Definition CsrMatrix.h:35
CsrSparseMatrix()
Constructor for an empty CsrSparseMatrix object. Leaves all storage arrays empty but sets the flag to...
Definition CsrMatrix.h:92
std::vector< std::unique_ptr< GenericElement< T > > > all_cells
Definition GridBase.h:23
std::shared_ptr< ShapeBase< T > > m_poly_mesh
Definition GridBase.h:21
bool can_contain_nullptrs
Definition GridBase.h:19
GridBase()
Default Constructor.
Definition GridBase.h:46
void setMesh(std::shared_ptr< ShapeBase< T > > mesh)
Sets the bounding surface mesh for the object, if a mesh is used.
Definition GridBase.h:68
virtual void createGrid()=0
int grid_size
Definition GridBase.h:20
int getGridSize() const
Definition GridBase.h:35
std::vector< std::unique_ptr< GenericElement< T > > > & getCells()
Definition GridBase.h:26
SimulationClassBase< T > * sim
Definition GridBase.h:22