OGS
|
Definition in file CreateOutputConfig.cpp.
#include "CreateOutputConfig.h"
#include <map>
#include "BaseLib/Algorithm.h"
#include "BaseLib/ConfigTree.h"
#include "BaseLib/FileTools.h"
#include "MaterialLib/Utils/MediaCreation.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Utils/createMaterialIDsBasedSubMesh.h"
#include "MeshLib/Utils/transformMeshToNodePartitionedMesh.h"
#include "MeshLib/NodePartitionedMesh.h"
Go to the source code of this file.
Namespaces | |
namespace | ProcessLib |
Functions | |
std::string | createMeshOutputName (std::vector< int > const &material_ids, std::string const &mesh_name) |
std::string | parseOutputMeshConfig (BaseLib::ConfigTree const &output_mesh_config, std::vector< std::unique_ptr< MeshLib::Mesh > > &meshes) |
OutputConfig | ProcessLib::createOutputConfig (const BaseLib::ConfigTree &config, std::vector< std::unique_ptr< MeshLib::Mesh > > &meshes) |
std::string createMeshOutputName | ( | std::vector< int > const & | material_ids, |
std::string const & | mesh_name ) |
Definition at line 26 of file CreateOutputConfig.cpp.
Referenced by parseOutputMeshConfig().
std::string parseOutputMeshConfig | ( | BaseLib::ConfigTree const & | output_mesh_config, |
std::vector< std::unique_ptr< MeshLib::Mesh > > & | meshes ) |
Definition at line 36 of file CreateOutputConfig.cpp.
References MeshLib::createMaterialIDsBasedSubMesh(), createMeshOutputName(), MeshLib::findMeshByName(), BaseLib::ConfigTree::getConfigAttributeOptional(), MeshLib::Mesh::getName(), BaseLib::ConfigTree::getValue(), MaterialLib::splitMaterialIdString(), and MeshLib::transformMeshToNodePartitionedMesh().
Referenced by ProcessLib::createOutputConfig().