OGS
|
Helper struct containing an extrapolator and a single component DOF table.
Storage for the DOF table is managed optionally.
Definition at line 27 of file ExtrapolatorData.h.
#include <ExtrapolatorData.h>
Public Member Functions | |
ExtrapolatorData ()=default | |
ExtrapolatorData (std::unique_ptr< NumLib::Extrapolator > &&extrapolator, NumLib::LocalToGlobalIndexMap const *const dof_table_single_component, bool const manage_storage) | |
ExtrapolatorData (ExtrapolatorData &&other) | |
ExtrapolatorData & | operator= (ExtrapolatorData &&other) |
NumLib::LocalToGlobalIndexMap const & | getDOFTable () const |
NumLib::Extrapolator & | getExtrapolator () const |
~ExtrapolatorData () | |
Private Member Functions | |
void | cleanup () |
Deletes the d.o.f table if it is allowed to do so. | |
Private Attributes | |
std::unique_ptr< NumLib::Extrapolator > | _extrapolator |
Extrapolator managed by the ExtrapolatorData instance. | |
NumLib::LocalToGlobalIndexMap const * | _dof_table_single_component = nullptr |
D.o.f. table used by the extrapolator. | |
bool | _manage_storage = false |
|
default |
|
inline |
Constructs a new instance.
extrapolator | the extrapolator managed by the instance being created |
dof_table_single_component | the d.o.f. table used by the extrapolator |
manage_storage | If true the memory of dof_table_single_component will be freed by the destructor of this class. |
Definition at line 41 of file ExtrapolatorData.h.
|
inline |
Definition at line 51 of file ExtrapolatorData.h.
|
inline |
Definition at line 77 of file ExtrapolatorData.h.
References cleanup().
|
inlineprivate |
Deletes the d.o.f table if it is allowed to do so.
Definition at line 81 of file ExtrapolatorData.h.
References _dof_table_single_component, and _manage_storage.
Referenced by ~ExtrapolatorData(), and operator=().
|
inline |
Definition at line 71 of file ExtrapolatorData.h.
References _dof_table_single_component.
Referenced by ProcessLib::Process::getSingleComponentDOFTable().
|
inline |
Definition at line 75 of file ExtrapolatorData.h.
References _extrapolator.
Referenced by ProcessLib::Process::getExtrapolator().
|
inline |
Definition at line 60 of file ExtrapolatorData.h.
References _dof_table_single_component, _extrapolator, _manage_storage, and cleanup().
|
private |
D.o.f. table used by the extrapolator.
Definition at line 94 of file ExtrapolatorData.h.
Referenced by cleanup(), getDOFTable(), and operator=().
|
private |
Extrapolator managed by the ExtrapolatorData instance.
Definition at line 91 of file ExtrapolatorData.h.
Referenced by getExtrapolator(), and operator=().
|
private |
If true, free storage of the d.o.f. table in the ExtrapolatorData destructor.
Definition at line 98 of file ExtrapolatorData.h.
Referenced by cleanup(), and operator=().