G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsMaterialMatrixContainer< T > Class Template Reference

Detailed Description

template<class T>
class gismo::gsMaterialMatrixContainer< T >

This class serves as the evaluator of material matrices, based on gsMaterialMatrixBase.

Template Parameters
TReal tyoe
outOutput type (see MaterialOutput)

Public Types

typedef memory::shared_ptr
< gsMaterialMatrixContainer
Ptr
 Shared pointer for gsMaterialMatrixContainer.
 
typedef memory::unique_ptr
< gsMaterialMatrixContainer
uPtr
 Unique pointer for gsMaterialMatrixContainer.
 

Public Member Functions

void add (const gsMaterialMatrixBase< T > &mat)
 Add a material matrix by copying argument.
 
void add (const gsMaterialMatrixBase< T > *mat)
 Add a material matrix from a gsMaterialMatrixBase<T>::uPtr.
 
void clear ()
 Clear all function pointers.
 
 gsMaterialMatrixContainer (index_t size=0)
 Constructor.
 
void set (const index_t i, const gsMaterialMatrixBase< T > &mat)
 Set a material matrix by copying argument.
 
void set (const index_t i, const gsMaterialMatrixBase< T > *mat)
 Set a material matrix from a gsMaterialMatrixBase<T>::uPtr.
 
void set (const index_t i, const typename gsMaterialMatrixBase< T >::Ptr mat)
 Set a material matrix from a gsMaterialMatrixBase<T>::uPtr.