36 typedef typename std::vector<typename gsMaterialMatrixBase<T>::Ptr> Container;
38 typedef typename Container::iterator iterator;
39 typedef typename Container::const_iterator const_iterator;
42 typedef memory::shared_ptr< gsMaterialMatrixContainer >
Ptr;
45 typedef memory::unique_ptr< gsMaterialMatrixContainer >
uPtr;
70 index_t size()
const {
return m_container.size();}
72 std::ostream &print(std::ostream &os)
const;
83 Container m_container;
91#ifndef GISMO_BUILD_LIB
92#include GISMO_HPP_HEADER(gsMaterialMatrixContainer.hpp)
This class defines the base class for material matrices.
Definition gsMaterialMatrixBase.h:33
memory::shared_ptr< gsMaterialMatrixBase > Ptr
Shared pointer for gsGeometry.
Definition gsMaterialMatrixBase.h:41
This class serves as the evaluator of material matrices, based on gsMaterialMatrixBase.
Definition gsMaterialMatrixContainer.h:34
memory::unique_ptr< gsMaterialMatrixContainer > uPtr
Unique pointer for gsMaterialMatrixContainer.
Definition gsMaterialMatrixContainer.h:45
memory::shared_ptr< gsMaterialMatrixContainer > Ptr
Shared pointer for gsMaterialMatrixContainer.
Definition gsMaterialMatrixContainer.h:42
void set(const index_t i, const gsMaterialMatrixBase< T > &mat)
Set a material matrix by copying argument.
Definition gsMaterialMatrixContainer.hpp:58
void add(const gsMaterialMatrixBase< T > &mat)
Add a material matrix by copying argument.
Definition gsMaterialMatrixContainer.hpp:46
void clear()
Clear all function pointers.
Definition gsMaterialMatrixContainer.hpp:89
#define index_t
Definition gsConfig.h:32
Provides a base class for material matrices.
The G+Smo namespace, containing all definitions for the library.