![]() |
MoCSI API Reference
|
#include <HeatConductivityTwoLayers.h>


Public Member Functions | |
| HeatConductivityTwoLayers (SimulationClassBase< T > *sim) | |
| bool | setup (std::vector< std::shared_ptr< GenericSubmodule< T > > > all_submodules) override |
| bool | exec (std::string_view param) override |
| bool | init () override |
| bool | preTimeStep () override |
| bool | postTimeStep () override |
| bool | output () override |
| void | calculateHeatConductivity () |
| bool | floatingCompare (T f1, T f2, T epsilon) |
| Equals comparison for two floating point numbers. | |
| void | calculateTransitionRegion () |
| Calculates the node after which the layer changes. | |
| void | setFieldPtr (std::shared_ptr< std::valarray< T > > field_ptr) override |
| std::string_view | getNameLocal () const override |
| std::vector< std::string > | getDependencies () const override |
Public Member Functions inherited from GenericSubmodule< T > | |
| GenericSubmodule () | |
| Constructor without arguments. Will be employed when using the static modules registry. | |
| virtual | ~GenericSubmodule ()=default |
| GenericSubmodule (const SimulationClassBase< T > *l_sim) | |
| Constructor to be preferably used when a module is created during runtime. | |
| virtual bool | postNonLinIter () |
| std::vector< std::string > | getSubmoduleList () const |
| bool | isSetUp () |
| void | submodulesSetUp () |
| void | setSimPointer (SimulationClassBase< T > *sim) |
| Setter function for the sim pointer. As the module is usually registered during static initialization when the sim class is not yet existing, this function is needed to set the pointer. | |
| void | setSubmodules (std::vector< std::shared_ptr< GenericSubmodule< T > > > all_submodules) |
| Sets all the submodules of this module into their corresponding chains. Also sets their field-pointers to the field pointer of the managing module as a way to communicate between submodules. | |
| void | writeToGlobalIniContent (std::ofstream &global_stream) |
| Function that writes the local ini file contents to the global ini file stream. "Tags" the keys with the name of the module in the format "module_name$key". | |
| void | overwriteLocalIniContent (const std::unordered_map< std::string, std::any > &global_ini_content) |
| Writes the (already trimmed to the local content) data from the global ini file to the local ini file. This only overwrites the internal data and not the file contents itself. | |
Static Public Member Functions | |
| static std::shared_ptr< GenericSubmodule< T > > | createMethode (SimulationClassBase< T > *sim) |
| static std::string | getName () |
Additional Inherited Members | |
Protected Attributes inherited from GenericSubmodule< T > | |
| ChainManager< GenericSubmodule< T > > | sub_module_chain |
| std::shared_ptr< std::valarray< T > > | module_field |
| const SimulationClassBase< T > * | sim {} |
| std::vector< std::string > | m_generic_submodules |
| InputManager | ini_file_data |
| bool | in_snapshot {false} |
| bool | in_output {false} |
| char | field_id |
| bool | is_set_up {false} |
| void HeatConductivityTwoLayers< T >::calculateHeatConductivity | ( | ) |
| void HeatConductivityTwoLayers< T >::calculateTransitionRegion | ( | ) |
Calculates the node after which the layer changes.
| T |
|
inlinestatic |
|
overridevirtual |
Implements GenericSubmodule< T >.
Equals comparison for two floating point numbers.
| T |
| f1 | The first floating point number. |
| f2 | The second floating point number. |
| epsilon | The allowed difference between the two (it functions as both an absolute and relative value) |
|
inlineoverridevirtual |
Reimplemented from GenericSubmodule< T >.
|
inlinestatic |
|
inlineoverridevirtual |
Implements GenericSubmodule< T >.
|
overridevirtual |
Reimplemented from GenericSubmodule< T >.
|
overridevirtual |
Reimplemented from GenericSubmodule< T >.
|
overridevirtual |
Reimplemented from GenericSubmodule< T >.
|
overridevirtual |
Reimplemented from GenericSubmodule< T >.
|
inlineoverridevirtual |
Reimplemented from GenericSubmodule< T >.
|
overridevirtual |
Reimplemented from GenericSubmodule< T >.