OGS
|
Definition in file IntegrationPointWriter.cpp.
Go to the source code of this file.
Namespaces | |
ProcessLib | |
Functions | |
static ProcessLib::IntegrationPointMetaData | addIntegrationPointData (MeshLib::Mesh &mesh, ProcessLib::IntegrationPointWriter const &writer) |
static void | addIntegrationPointMetaData (MeshLib::Mesh &mesh, std::vector< ProcessLib::IntegrationPointMetaData > const &meta_data) |
static ProcessLib::IntegrationPointMetaData | extractIntegrationPointMetaData (json const &meta_data, std::string const &name) |
void | ProcessLib::addIntegrationPointWriter (MeshLib::Mesh &mesh, std::vector< std::unique_ptr< IntegrationPointWriter >> const &integration_point_writer) |
IntegrationPointMetaData | ProcessLib::getIntegrationPointMetaData (MeshLib::Mesh const &mesh, std::string const &name) |
|
static |
Adds the integration point data and creates meta data for it.
Returns meta data for the written integration point data.
Definition at line 22 of file IntegrationPointWriter.cpp.
References MathLib::LinAlg::copy(), MeshLib::Mesh::getNumberOfElements(), ProcessLib::IntegrationPointWriter::integrationOrder(), MeshLib::IntegrationPoint, ProcessLib::IntegrationPointWriter::name(), ProcessLib::IntegrationPointWriter::numberOfComponents(), and ProcessLib::IntegrationPointWriter::values().
Referenced by ProcessLib::addIntegrationPointWriter().
|
static |
Adds integration point meta data as char mesh property encoded in JSON format, which is then stored as VTK's field data.
Definition at line 47 of file IntegrationPointWriter.cpp.
References MathLib::LinAlg::copy(), and MeshLib::IntegrationPoint.
Referenced by ProcessLib::addIntegrationPointWriter().
|
static |
For the given json object and the name extract integration point meta data, or fail if no meta data was found for the given name.
Definition at line 74 of file IntegrationPointWriter.cpp.
References MaterialPropertyLib::name, and OGS_FATAL.
Referenced by ProcessLib::getIntegrationPointMetaData().