MoReFEM
|
A specific version of MoReFEMData which is to be used in most of the tests written after July 2023. More...
#include <MoReFEMDataForTest.hpp>
Public Types | |
using | self = MoReFEMDataForTest<ModelSettingsT, TimeManagerT> |
Alias to the type of the class. | |
using | parent |
Alias to parent. | |
using | const_unique_ptr = std::unique_ptr<self> |
Alias to unique_ptr. | |
using | input_data_type = Internal::InputDataNS::EmptyInputData |
Convenient alias for InputData instantiation to use. | |
using | model_settings_type = typename parent::model_settings_type |
Alias to model settings type. | |
using | time_manager_type = TimeManagerT |
Alias to the object in charge of time management. | |
Public Member Functions | |
const Internal::Parallelism * | GetParallelismPtr () const noexcept |
No Parallelism object foreseen so far so this method returns nullptr . | |
Special members. | |
MoReFEMDataForTest (const std::filesystem::path &result_directory_subpath) | |
Constructor. | |
virtual | ~MoReFEMDataForTest () override |
Destructor. | |
MoReFEMDataForTest (const MoReFEMDataForTest &rhs)=delete | |
The copy constructor. | |
MoReFEMDataForTest (MoReFEMDataForTest &&rhs)=delete | |
The move constructor. | |
MoReFEMDataForTest & | operator= (const MoReFEMDataForTest &rhs)=delete |
The (copy) operator=. | |
MoReFEMDataForTest & | operator= (MoReFEMDataForTest &&rhs)=delete |
The (move) operator=. | |
Static Public Member Functions | |
static constexpr bool | HasParallelismField () |
Specify there are no Parallelism field. | |
Static Public Attributes | |
static constexpr is_morefem_data | ConceptIsMoReFEMData = is_morefem_data::for_test |
Helper variable to define the MoReFEMDataType concept. | |
A specific version of MoReFEMData which is to be used in most of the tests written after July 2023.
Classical MoReFEMData holds InputData
information, but for tests we typically do not need it: there are little reasons to provide data that may be modified by the end user through a Lua file, and it is more sensible to set the data through a ModelSettings
object instead.
The purpose of current class is to provide an alternate for MoReFEMData just for those tests; it should not be used outside of this use case for genuine models.
using MoReFEM::MoReFEMDataForTest< ModelSettingsT, TimeManagerT >::self = MoReFEMDataForTest<ModelSettingsT, TimeManagerT> |
Alias to the type of the class.
using MoReFEM::MoReFEMDataForTest< ModelSettingsT, TimeManagerT >::parent |
Alias to parent.
using MoReFEM::MoReFEMDataForTest< ModelSettingsT, TimeManagerT >::input_data_type = Internal::InputDataNS::EmptyInputData |
Convenient alias for InputData instantiation to use.
Here it is a dedicated class that holds no value.
|
explicit |
Constructor.
[in] | result_directory_subpath | The path inside the generic $MOREFEM_TEST_OUTPUT_DIR output directory to place the outputs specifically related to the test considered. |
|
delete |
The copy constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The move constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The (copy) operator=.
[in] | rhs | The object from which the affectation occurs. |
|
delete |
The (move) operator=.
[in] | rhs | The object from which the affectation occurs. |