17 #include <type_traits>
33 template<
class TDataType>
40 using Pointer = std::shared_ptr<VariableExpressionDataIO<TDataType>>;
46 std::is_same<TDataType, int>,
47 std::is_same<TDataType, std::vector<int>>
125 const TDataType& Value)
const;
139 std::vector<IndexType> mShape;
Base class or all the expression types.
Definition: expression.h:38
Expression to hold a literal with a flattened data structure.
Definition: literal_flat_expression.h:39
Construct class to read into expressions from templated data values and write in to templated data va...
Definition: variable_expression_data_io.h:35
std::shared_ptr< VariableExpressionDataIO< TDataType > > Pointer
Definition: variable_expression_data_io.h:40
std::conditional_t< std::disjunction_v< std::is_same< TDataType, int >, std::is_same< TDataType, std::vector< int > > >, int, double > RawType
Definition: variable_expression_data_io.h:48
std::size_t IndexType
Definition: variable_expression_data_io.h:42
const std::vector< IndexType > GetItemShape() const
Get the shape of the data type.
Definition: variable_expression_data_io.h:132
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
void Assign(const Expression &rExpression, const IndexType EntityIndex, const IndexType EntityDataBeginIndex, TDataType &rValue, std::index_sequence< TIndex... >)
Definition: variable_expression_data_io.cpp:41
void Read(LiteralFlatExpression< std::conditional_t< std::is_same_v< TDataType, int >, int, double >> &rExpression, const IndexType EntityDataBeginIndex, const TDataType &rValue, std::index_sequence< TIndex... >)
Definition: variable_expression_data_io.cpp:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
REACTION_CHECK_STIFFNESS_FACTOR int
Definition: contact_structural_mechanics_application_variables.h:75