OGS
|
Holds all data of a process that are needed for output.
Definition at line 27 of file ProcessOutputData.h.
#include <ProcessOutputData.h>
Public Member Functions | |
ProcessOutputData (std::vector< std::reference_wrapper< const std::vector< std::reference_wrapper< ProcessVariable > > > > &&process_variables_of_all_processes, const SecondaryVariableCollection &secondary_variables, const std::vector< std::unique_ptr< MeshLib::IntegrationPointWriter > > *integration_point_writers, std::vector< const NumLib::LocalToGlobalIndexMap * > &&bulk_mesh_dof_tables_of_all_processes, std::vector< const NumLib::LocalToGlobalIndexMap * > &&output_mesh_dof_tables_of_all_processes, std::vector< std::unique_ptr< NumLib::LocalToGlobalIndexMap > > &&container_that_owns_output_mesh_dof_tables, MeshLib::Mesh &output_mesh) | |
std::vector< std::reference_wrapper< ProcessVariable > > const & | getProcessVariables (int const process_id) const |
SecondaryVariableCollection const & | getSecondaryVariables () const |
std::vector< std::unique_ptr< MeshLib::IntegrationPointWriter > > const * | getIntegrationPointWriters () const |
NumLib::LocalToGlobalIndexMap const & | getBulkMeshDofTable (int const process_id) const |
NumLib::LocalToGlobalIndexMap const & | getOutputMeshDofTable (int const process_id) const |
std::vector< const NumLib::LocalToGlobalIndexMap * > const & | getOutputMeshDofTablesOfAllProcesses () const |
MeshLib::Mesh & | getOutputMesh () const |
Private Attributes | |
std::vector< std::reference_wrapper< const std::vector< std::reference_wrapper< ProcessVariable > > > > | process_variables_of_all_processes_ |
SecondaryVariableCollection const & | secondary_variables_ |
std::vector< std::unique_ptr< MeshLib::IntegrationPointWriter > > const * | integration_point_writers_ |
std::vector< NumLib::LocalToGlobalIndexMap const * > | bulk_mesh_dof_tables_of_all_processes_ |
std::vector< NumLib::LocalToGlobalIndexMap const * > | output_mesh_dof_tables_of_all_processes_ |
std::vector< std::unique_ptr< NumLib::LocalToGlobalIndexMap > > | container_that_owns_output_mesh_dof_tables_ |
MeshLib::Mesh & | output_mesh_ |
ProcessLib::ProcessOutputData::ProcessOutputData | ( | std::vector< std::reference_wrapper< const std::vector< std::reference_wrapper< ProcessVariable > > > > && | process_variables_of_all_processes, |
const SecondaryVariableCollection & | secondary_variables, | ||
const std::vector< std::unique_ptr< MeshLib::IntegrationPointWriter > > * | integration_point_writers, | ||
std::vector< const NumLib::LocalToGlobalIndexMap * > && | bulk_mesh_dof_tables_of_all_processes, | ||
std::vector< const NumLib::LocalToGlobalIndexMap * > && | output_mesh_dof_tables_of_all_processes, | ||
std::vector< std::unique_ptr< NumLib::LocalToGlobalIndexMap > > && | container_that_owns_output_mesh_dof_tables, | ||
MeshLib::Mesh & | output_mesh ) |
Definition at line 162 of file ProcessOutputData.cpp.
References bulk_mesh_dof_tables_of_all_processes_, container_that_owns_output_mesh_dof_tables_, OGS_FATAL, output_mesh_dof_tables_of_all_processes_, and process_variables_of_all_processes_.
|
inline |
Definition at line 62 of file ProcessOutputData.h.
References bulk_mesh_dof_tables_of_all_processes_.
|
inline |
Definition at line 57 of file ProcessOutputData.h.
References integration_point_writers_.
|
inline |
|
inline |
Definition at line 68 of file ProcessOutputData.h.
References output_mesh_dof_tables_of_all_processes_.
|
inline |
Definition at line 75 of file ProcessOutputData.h.
References output_mesh_dof_tables_of_all_processes_.
|
inline |
Definition at line 46 of file ProcessOutputData.h.
References process_variables_of_all_processes_.
Referenced by ProcessLib::addProcessDataToMesh().
|
inline |
Definition at line 51 of file ProcessOutputData.h.
References secondary_variables_.
|
private |
D.o.f. tables for the full simulation domain of the Process this ProcessOutputData is associated with.
Each element of the container corresponds to a specific process_id
of the Process.
Definition at line 106 of file ProcessOutputData.h.
Referenced by ProcessOutputData(), and getBulkMeshDofTable().
|
private |
Actual data backing the pointers in output_mesh_dof_tables_of_all_processes_.
This container is populated in the case of submesh output only.
Definition at line 123 of file ProcessOutputData.h.
Referenced by ProcessOutputData().
|
private |
The list of integration point writers or nullptr
if there are no integration point writers defined on the output_mesh_.
The latter is the case for output on submeshes.
Definition at line 98 of file ProcessOutputData.h.
Referenced by getIntegrationPointWriters().
|
private |
The mesh to which output shall be written.
This can be the entire simulation domain of the Process this ProcessOutputData is associated with or a submesh thereof.
Definition at line 129 of file ProcessOutputData.h.
Referenced by getOutputMesh().
|
private |
D.o.f tables for the given output_mesh_.
In the case of submesh output these d.o.f. tables are different from the bulk_mesh_dof_tables_of_all_processes_.
Each element of the container corresponds to a specific process_id
of the Process this ProcessOutputData is associated with.
Definition at line 116 of file ProcessOutputData.h.
Referenced by ProcessOutputData(), getOutputMeshDofTable(), and getOutputMeshDofTablesOfAllProcesses().
|
private |
Process variables of all processes.
Each element of the container corresponds to a specific process_id
of the Process.
Definition at line 89 of file ProcessOutputData.h.
Referenced by ProcessOutputData(), and getProcessVariables().
|
private |
Definition at line 91 of file ProcessOutputData.h.
Referenced by getSecondaryVariables().