an helper class storing the values of a function in a std::vector
More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/Function.hxx>
|
| constexpr | FunctionStorage (const Space &s) |
| | constructor for a function whose number of components is known at compile time: allocates N * getSpaceSize(s) values initialized to zero
|
| constexpr | FunctionStorage (const Space &s, const size_type dsize) |
| | constructor for a function whose number of components is only known at run time: allocates getSpaceSize(s) * dsize values initialized to zero
|
|
constexpr | FunctionStorage (FunctionStorage &&)=default |
| | move constructor
|
|
constexpr | FunctionStorage (const FunctionStorage &)=default |
| | copy constructor
|
|
constexpr | ~FunctionStorage ()=default |
| | destructor
|
|
|
std::vector< real > | storage_values |
| | values
|
template<LinearFunctionalSpaceConcept Space,
size_type N>
struct mgis::function::FunctionStorage< Space, N >
an helper class storing the values of a function in a std::vector
- Template Parameters
-
| Space | type of the discretization space on which the function is defined |
| N | number of components, which may be dynamic_extent |
- Note
- moving or copying the storage moves or copies the values but does not update the views which point to them: this is the responsibility of the classes deriving from this class
◆ FunctionStorage() [1/2]
template<LinearFunctionalSpaceConcept Space,
size_type N>
constructor for a function whose number of components is known at compile time: allocates N * getSpaceSize(s) values initialized to zero
- Parameters
-
| [in] | s | space on which the function is defined |
◆ FunctionStorage() [2/2]
template<LinearFunctionalSpaceConcept Space,
size_type N>
constructor for a function whose number of components is only known at run time: allocates getSpaceSize(s) * dsize values initialized to zero
- Parameters
-
| [in] | s | space on which the function is defined |
| [in] | dsize | number of components of the function |
The documentation for this struct was generated from the following file: