structure describing a raw code block
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/CodeBlock.hxx>
|
| using | Attribute |
| | a class used to store the attribute of a code block
|
|
|
| CodeBlock () |
| | default contructor
|
|
| CodeBlock (CodeBlock &&) noexcept |
| | move contructor
|
|
| CodeBlock (const CodeBlock &) |
| | copy contructor
|
|
CodeBlock & | operator= (CodeBlock &&) noexcept |
| | move assignement
|
|
CodeBlock & | operator= (const CodeBlock &) |
| | standard assignement
|
|
| ~CodeBlock () |
| | destructor
|
|
|
std::string | code |
| | code
|
|
std::string | description |
| | description
|
|
std::set< std::string > | staticMembers |
| | static members used in the block
|
|
std::set< std::string > | members |
| | members used in the block
|
| std::set< std::string > | block_variables |
| | variables defined by the DSL in this block that are effectively used.
|
|
std::map< std::string, Attribute > | attributes |
| | variable attributes
|
|
|
static const char *const | safe |
| | standard attribute name
|
|
static const char *const | requires_jacobian_decomposition |
| | standard attribute name
|
|
static const char *const | uses_get_partial_jacobian_invert |
| | standard attribute name
|
|
static const char *const | used_initialize_function_variables |
| | standard attribute name
|
|
static const char *const | used_postprocessing_variables |
| | standard attribute name
|
|
static const char *const | used_get_integration_variables_derivatives |
| | name of an attribute associated with the use of the getIntegrationVariablesDerivatives_X method where X is the name of a gradient or the name of an external state variable. The attribute stores the list of X's.
|
|
static const char *const | used_implicit_equations_derivatives_with_respect_to_gradients_or_external_state_variables |
| | standard attribute name
|
|
static const char *const | used_jacobian_invert_blocks |
| | standard attribute name
|
structure describing a raw code block
◆ Attribute
Initial value: tfel::utilities::GenType<
bool,
std::string,
std::vector<VariableDescription>,
std::vector<std::pair<VariableDescription, VariableDescription>>>
a class used to store the attribute of a code block
◆ throwUndeclaredAttribute()
| void mfront::CodeBlock::throwUndeclaredAttribute |
( |
const std::string & | | ) |
|
|
static |
raise an exception stating that an attribute does not exist
- Parameters
-
| [in] | n | name of the attribute |
◆ throwUnmatchedAttributeType()
| void mfront::CodeBlock::throwUnmatchedAttributeType |
( |
const std::string & | | ) |
|
|
static |
raise an exception stating that an attribute has not the expected type
- Parameters
-
| [in] | n | name of the attribute |
◆ block_variables
| std::set<std::string> mfront::CodeBlock::block_variables |
variables defined by the DSL in this block that are effectively used.
For instance, in isotropic DSLs, if an isotropic hardening rule is defined, two variables named R and dR_dp will be defined and shall be used in code blocks introduced by the @FlowRule keyword.
The documentation for this struct was generated from the following file: