![]() |
OGS
|
Classes | |
struct | ConfigOffsets |
class | NodeWiseMeshPartitioner |
Mesh partitioner. More... | |
struct | Partition |
A subdomain mesh. More... | |
struct | PartitionOffsets |
Functions | |
template<typename ElementType > | |
int | getNumberOfElementIntegrationPointsGeneral (MeshLib::IntegrationPointMetaData const &ip_meta_data) |
int | getNumberOfElementIntegrationPoints (MeshLib::IntegrationPointMetaData const &ip_meta_data, MeshLib::Element const &e) |
std::vector< std::size_t > | getIntegrationPointDataOffsetsOfMeshElements (std::vector< MeshLib::Element * > const &mesh_elements, MeshLib::PropertyVectorBase const &pv, MeshLib::Properties const &properties) |
void | writeMETIS (std::vector< MeshLib::Element * > const &elements, const std::string &file_name) |
std::vector< std::size_t > | readMetisData (const std::string &file_name_base, long const number_of_partitions, std::size_t const number_of_nodes) |
void | removeMetisPartitioningFiles (std::string const &file_name_base, long const number_of_partitions) |
NodeWiseMeshPartitioner::IntegerType | getNumberOfIntegerVariablesOfElements (std::vector< const MeshLib::Element * > const &elements) |
std::size_t | nodeIdBulkMesh (MeshLib::Node const &node, std::vector< std::size_t > const *node_id_mapping=nullptr) |
std::size_t | partitionLookup (MeshLib::Node const &node, std::vector< std::size_t > const &partition_ids, std::vector< std::size_t > const *node_id_mapping=nullptr) |
std::pair< std::vector< MeshLib::Node * >, std::vector< MeshLib::Node * > > | findRegularNodesInPartition (std::size_t const part_id, std::vector< MeshLib::Node * > const &nodes, std::vector< std::size_t > const &partition_ids, MeshLib::Mesh const &mesh, std::vector< std::size_t > const *node_id_mapping=nullptr) |
std::ptrdiff_t | numberOfRegularNodes (MeshLib::Element const &e, std::size_t const part_id, std::vector< std::size_t > const &partition_ids, std::vector< std::size_t > const *node_id_mapping=nullptr) |
std::tuple< std::vector< MeshLib::Element const * >, std::vector< MeshLib::Element const * > > | findElementsInPartition (std::size_t const part_id, std::vector< MeshLib::Element * > const &elements, std::vector< std::size_t > const &partition_ids, std::vector< std::size_t > const *node_id_mapping=nullptr) |
std::tuple< std::vector< MeshLib::Node * >, std::vector< MeshLib::Node * > > | findGhostNodesInPartition (std::size_t const part_id, std::vector< MeshLib::Node * > const &nodes, std::vector< MeshLib::Element const * > const &ghost_elements, std::vector< std::size_t > const &partition_ids, MeshLib::Mesh const &mesh, std::vector< std::size_t > const *node_id_mapping=nullptr) |
template<typename T > | |
std::size_t | copyNodePropertyVectorValues (Partition const &p, std::size_t const offset, MeshLib::PropertyVector< T > const &pv, MeshLib::PropertyVector< T > &partitioned_pv) |
template<typename T > | |
std::size_t | copyCellPropertyVectorValues (Partition const &p, std::size_t const offset, MeshLib::PropertyVector< T > const &pv, MeshLib::PropertyVector< T > &partitioned_pv) |
template<typename T > | |
std::size_t | copyFieldPropertyDataToPartitions (MeshLib::Properties const &properties, Partition const &p, std::size_t const id_offset_partition, std::vector< std::size_t > const &element_ip_data_offsets, MeshLib::PropertyVector< T > const &pv, MeshLib::PropertyVector< T > &partitioned_pv) |
void | setIntegrationPointNumberOfPartition (MeshLib::Properties const &properties, std::vector< Partition > &partitions) |
template<typename T > | |
bool | copyPropertyVector (std::vector< MeshLib::Element * > const &global_mesh_elements, MeshLib::Properties &partitioned_properties, MeshLib::Properties const &properties, std::vector< Partition > const &partitions, MeshLib::PropertyVector< T > const *const pv, std::map< MeshLib::MeshItemType, std::size_t > const &total_number_of_tuples) |
void | addVtkGhostTypeProperty (MeshLib::Properties &partitioned_properties, std::vector< Partition > const &partitions, std::size_t const total_number_of_cells) |
MeshLib::Properties | partitionProperties (std::unique_ptr< MeshLib::Mesh > const &mesh, std::vector< Partition > &partitions) |
Partition existing properties and add vtkGhostType cell data array property. | |
void | markDuplicateGhostCells (MeshLib::Mesh const &mesh, std::vector< Partition > &partitions) |
void | checkFieldPropertyVectorSize (std::vector< MeshLib::Element * > const &global_mesh_elements, MeshLib::Properties const &properties) |
template<typename T > | |
void | writePropertyVectorValues (std::ostream &os, MeshLib::PropertyVector< T > const &pv) |
template<typename T > | |
bool | writePropertyVector (MeshLib::PropertyVector< T > const *const pv, MeshLib::MeshItemType const mesh_item_type, std::ostream &out_val, std::ostream &out_meta) |
void | writeProperties (const std::string &file_name_base, MeshLib::Properties const &partitioned_properties, std::vector< Partition > const &partitions, MeshLib::MeshItemType const mesh_item_type) |
PartitionOffsets | computePartitionOffsets (Partition const &partition) |
ConfigOffsets | incrementConfigOffsets (ConfigOffsets const &oldConfig, PartitionOffsets const &offsets) |
std::tuple< std::vector< long >, std::vector< long > > | writeConfigData (const std::string &file_name_base, std::vector< Partition > const &partitions) |
void | getElementIntegerVariables (const MeshLib::Element &elem, const std::unordered_map< std::size_t, long > &local_node_ids, std::vector< long > &elem_info, long &counter) |
std::unordered_map< std::size_t, long > | enumerateLocalNodeIds (std::vector< MeshLib::Node * > const &nodes) |
Generates a mapping of given node ids to a new local (renumbered) node ids. | |
void | writeElements (std::string const &file_name_base, std::vector< Partition > const &partitions, std::vector< long > const ®ular_element_offsets, std::vector< long > const &ghost_element_offsets) |
void | writeNodes (const std::string &file_name_base, std::vector< Partition > const &partitions, std::vector< std::size_t > const &global_node_ids) |
void ApplicationUtils::addVtkGhostTypeProperty | ( | MeshLib::Properties & | partitioned_properties, |
std::vector< Partition > const & | partitions, | ||
std::size_t const | total_number_of_cells | ||
) |
Definition at line 523 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Cell, MeshLib::Properties::createNewPropertyVector(), and OGS_FATAL.
Referenced by partitionProperties().
void ApplicationUtils::checkFieldPropertyVectorSize | ( | std::vector< MeshLib::Element * > const & | global_mesh_elements, |
MeshLib::Properties const & | properties | ||
) |
Definition at line 629 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::getIntegrationPointMetaData(), getNumberOfElementIntegrationPoints(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::IntegrationPoint, and OGS_FATAL.
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::partitionByMETIS().
PartitionOffsets ApplicationUtils::computePartitionOffsets | ( | Partition const & | partition | ) |
Definition at line 1008 of file NodeWiseMeshPartitioner.cpp.
References getNumberOfIntegerVariablesOfElements(), ApplicationUtils::Partition::ghost_elements, ApplicationUtils::Partition::nodes, and ApplicationUtils::Partition::regular_elements.
Referenced by writeConfigData().
std::size_t ApplicationUtils::copyCellPropertyVectorValues | ( | Partition const & | p, |
std::size_t const | offset, | ||
MeshLib::PropertyVector< T > const & | pv, | ||
MeshLib::PropertyVector< T > & | partitioned_pv | ||
) |
Copies the properties from global property vector pv
to the partition-local one partitioned_pv
. Regular elements' and ghost elements' values are copied.
Definition at line 326 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::PropertyVectorBase::getNumberOfGlobalComponents().
Referenced by copyPropertyVector().
std::size_t ApplicationUtils::copyFieldPropertyDataToPartitions | ( | MeshLib::Properties const & | properties, |
Partition const & | p, | ||
std::size_t const | id_offset_partition, | ||
std::vector< std::size_t > const & | element_ip_data_offsets, | ||
MeshLib::PropertyVector< T > const & | pv, | ||
MeshLib::PropertyVector< T > & | partitioned_pv | ||
) |
Copies the data from the property vector pv
belonging to the given Partition p
to the property vector partitioned_pv
. partitioned_pv
is ordered by partition. Regular elements' and ghost elements' values are copied.
Definition at line 356 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::getIntegrationPointMetaData(), getNumberOfElementIntegrationPoints(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::PropertyVectorBase::getPropertyName(), and MeshLib::PropertyVector< PROP_VAL_TYPE >::size().
Referenced by copyPropertyVector().
std::size_t ApplicationUtils::copyNodePropertyVectorValues | ( | Partition const & | p, |
std::size_t const | offset, | ||
MeshLib::PropertyVector< T > const & | pv, | ||
MeshLib::PropertyVector< T > & | partitioned_pv | ||
) |
Copies the properties from global property vector pv
to the partition-local one partitioned_pv
.
Definition at line 304 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::PropertyVectorBase::getNumberOfGlobalComponents().
Referenced by copyPropertyVector().
bool ApplicationUtils::copyPropertyVector | ( | std::vector< MeshLib::Element * > const & | global_mesh_elements, |
MeshLib::Properties & | partitioned_properties, | ||
MeshLib::Properties const & | properties, | ||
std::vector< Partition > const & | partitions, | ||
MeshLib::PropertyVector< T > const *const | pv, | ||
std::map< MeshLib::MeshItemType, std::size_t > const & | total_number_of_tuples | ||
) |
Definition at line 451 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Cell, copyCellPropertyVectorValues(), copyFieldPropertyDataToPartitions(), copyNodePropertyVectorValues(), MeshLib::Properties::createNewPropertyVector(), getIntegrationPointDataOffsetsOfMeshElements(), MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::IntegrationPoint, MeshLib::Node, OGS_FATAL, and MeshLib::PropertyVector< PROP_VAL_TYPE >::size().
std::unordered_map< std::size_t, long > ApplicationUtils::enumerateLocalNodeIds | ( | std::vector< MeshLib::Node * > const & | nodes | ) |
Generates a mapping of given node ids to a new local (renumbered) node ids.
Definition at line 1105 of file NodeWiseMeshPartitioner.cpp.
Referenced by writeElements().
std::tuple< std::vector< MeshLib::Element const * >, std::vector< MeshLib::Element const * > > ApplicationUtils::findElementsInPartition | ( | std::size_t const | part_id, |
std::vector< MeshLib::Element * > const & | elements, | ||
std::vector< std::size_t > const & | partition_ids, | ||
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
1 find elements belonging to the partition part_id: fills vector partition.regular_elements 2 find ghost elements belonging to the partition part_id fills vector partition.ghost_elements
Definition at line 182 of file NodeWiseMeshPartitioner.cpp.
References numberOfRegularNodes().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::partitionOtherMesh(), and ApplicationUtils::NodeWiseMeshPartitioner::processPartition().
std::tuple< std::vector< MeshLib::Node * >, std::vector< MeshLib::Node * > > ApplicationUtils::findGhostNodesInPartition | ( | std::size_t const | part_id, |
std::vector< MeshLib::Node * > const & | nodes, | ||
std::vector< MeshLib::Element const * > const & | ghost_elements, | ||
std::vector< std::size_t > const & | partition_ids, | ||
MeshLib::Mesh const & | mesh, | ||
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
Prerequisite: the ghost elements has to be found (using findElementsInPartition). Finds ghost nodes and non-linear element ghost nodes by walking over ghost elements.
Definition at line 221 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Mesh::getElementsConnectedToNode(), and partitionLookup().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::partitionOtherMesh(), and ApplicationUtils::NodeWiseMeshPartitioner::processPartition().
std::pair< std::vector< MeshLib::Node * >, std::vector< MeshLib::Node * > > ApplicationUtils::findRegularNodesInPartition | ( | std::size_t const | part_id, |
std::vector< MeshLib::Node * > const & | nodes, | ||
std::vector< std::size_t > const & | partition_ids, | ||
MeshLib::Mesh const & | mesh, | ||
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
1 copy pointers to nodes belonging to the partition part_id into base nodes vector, and 2 collect non-linear element nodes belonging to the partition part_id in extra nodes vector. If node_id_mapping
is given, it will be used to map the mesh node ids to other ids; used by boundary meshes, for example.
Definition at line 128 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Mesh::getElementsConnectedToNode(), and partitionLookup().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::partitionOtherMesh(), and ApplicationUtils::NodeWiseMeshPartitioner::processPartition().
void ApplicationUtils::getElementIntegerVariables | ( | const MeshLib::Element & | elem, |
const std::unordered_map< std::size_t, long > & | local_node_ids, | ||
std::vector< long > & | elem_info, | ||
long & | counter | ||
) |
Get integer variables, which are used to define an element
elem | Element |
local_node_ids | Local node indices of a partition |
elem_info | A vector holds all integer variables of element definitions |
counter | Recorder of the number of integer variables. |
Definition at line 1084 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Element::getCellType(), MeshLib::Element::getNode(), and MeshLib::Element::getNumberOfNodes().
Referenced by writeElements().
std::vector< std::size_t > ApplicationUtils::getIntegrationPointDataOffsetsOfMeshElements | ( | std::vector< MeshLib::Element * > const & | mesh_elements, |
MeshLib::PropertyVectorBase const & | pv, | ||
MeshLib::Properties const & | properties | ||
) |
Definition at line 98 of file IntegrationPointDataTools.cpp.
References MeshLib::getIntegrationPointMetaData(), getNumberOfElementIntegrationPoints(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), and MeshLib::PropertyVectorBase::getPropertyName().
Referenced by copyPropertyVector(), and createPropertyVector().
int ApplicationUtils::getNumberOfElementIntegrationPoints | ( | MeshLib::IntegrationPointMetaData const & | ip_meta_data, |
MeshLib::Element const & | e | ||
) |
Definition at line 36 of file IntegrationPointDataTools.cpp.
References MeshLib::CellType2String(), MeshLib::Element::getCellType(), getNumberOfElementIntegrationPointsGeneral(), MeshLib::HEX20, MeshLib::HEX27, MeshLib::HEX8, MeshLib::INVALID, MeshLib::LINE2, MeshLib::LINE3, OGS_FATAL, MeshLib::PRISM15, MeshLib::PRISM18, MeshLib::PRISM6, MeshLib::PYRAMID13, MeshLib::PYRAMID5, MeshLib::QUAD4, MeshLib::QUAD8, MeshLib::QUAD9, MeshLib::TET10, MeshLib::TET4, MeshLib::TRI3, and MeshLib::TRI6.
Referenced by checkFieldPropertyVectorSize(), copyFieldPropertyDataToPartitions(), createPropertyVector(), getIntegrationPointDataOffsetsOfMeshElements(), and setIntegrationPointNumberOfPartition().
int ApplicationUtils::getNumberOfElementIntegrationPointsGeneral | ( | MeshLib::IntegrationPointMetaData const & | ip_meta_data | ) |
Definition at line 24 of file IntegrationPointDataTools.cpp.
References MeshLib::IntegrationPointMetaData::integration_order.
Referenced by getNumberOfElementIntegrationPoints().
NodeWiseMeshPartitioner::IntegerType ApplicationUtils::getNumberOfIntegerVariablesOfElements | ( | std::vector< const MeshLib::Element * > const & | elements | ) |
Calculate the total number of integer variables of an element vector. Each element has three integer variables for element ID, element type, number of nodes of the element. Therefore the total number of the integers in elements
is 3 * elements.size() + sum (number of nodes of each element).
Definition at line 73 of file NodeWiseMeshPartitioner.cpp.
Referenced by computePartitionOffsets(), and ApplicationUtils::Partition::writeConfig().
ConfigOffsets ApplicationUtils::incrementConfigOffsets | ( | ConfigOffsets const & | oldConfig, |
PartitionOffsets const & | offsets | ||
) |
Definition at line 1019 of file NodeWiseMeshPartitioner.cpp.
References ApplicationUtils::ConfigOffsets::element_rank_offset, ApplicationUtils::ConfigOffsets::ghost_element_rank_offset, ApplicationUtils::PartitionOffsets::ghost_elements, ApplicationUtils::PartitionOffsets::node, ApplicationUtils::ConfigOffsets::node_rank_offset, and ApplicationUtils::PartitionOffsets::regular_elements.
Referenced by writeConfigData().
void ApplicationUtils::markDuplicateGhostCells | ( | MeshLib::Mesh const & | mesh, |
std::vector< Partition > & | partitions | ||
) |
Definition at line 607 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Mesh::getElements().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::partitionByMETIS(), and ApplicationUtils::NodeWiseMeshPartitioner::partitionOtherMesh().
std::size_t ApplicationUtils::nodeIdBulkMesh | ( | MeshLib::Node const & | node, |
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
Definition at line 102 of file NodeWiseMeshPartitioner.cpp.
References MathLib::Point3dWithID::getID().
Referenced by partitionLookup().
std::ptrdiff_t ApplicationUtils::numberOfRegularNodes | ( | MeshLib::Element const & | e, |
std::size_t const | part_id, | ||
std::vector< std::size_t > const & | partition_ids, | ||
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
Definition at line 164 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::Element::getNodes(), and MeshLib::Element::getNumberOfNodes().
Referenced by findElementsInPartition().
std::size_t ApplicationUtils::partitionLookup | ( | MeshLib::Node const & | node, |
std::vector< std::size_t > const & | partition_ids, | ||
std::vector< std::size_t > const * | node_id_mapping = nullptr |
||
) |
Definition at line 109 of file NodeWiseMeshPartitioner.cpp.
References nodeIdBulkMesh().
Referenced by findGhostNodesInPartition(), and findRegularNodesInPartition().
MeshLib::Properties ApplicationUtils::partitionProperties | ( | std::unique_ptr< MeshLib::Mesh > const & | mesh, |
std::vector< Partition > & | partitions | ||
) |
Partition existing properties and add vtkGhostType cell data array property.
Creates partitioned mesh properties for nodes and cells.
Definition at line 553 of file NodeWiseMeshPartitioner.cpp.
References addVtkGhostTypeProperty(), applyToPropertyVectors(), DBUG(), and setIntegrationPointNumberOfPartition().
Referenced by main(), and ApplicationUtils::NodeWiseMeshPartitioner::partitionByMETIS().
std::vector< std::size_t > ApplicationUtils::readMetisData | ( | const std::string & | file_name_base, |
long | number_of_partitions, | ||
std::size_t | number_of_nodes | ||
) |
Read metis data
file_name_base | The prefix of the filename. |
number_of_partitions | The number is used to compose the full filename and forms the postfix. |
number_of_nodes | Expected/required number of nodes to be read. |
Definition at line 45 of file Metis.cpp.
References OGS_FATAL.
Referenced by main().
void ApplicationUtils::removeMetisPartitioningFiles | ( | std::string const & | file_name_base, |
long | number_of_partitions | ||
) |
Removes the F.mesh.npart.P and F.mesh.epart.P files, where F is file name base and P is the number of partitions.
Definition at line 90 of file Metis.cpp.
Referenced by main().
void ApplicationUtils::setIntegrationPointNumberOfPartition | ( | MeshLib::Properties const & | properties, |
std::vector< Partition > & | partitions | ||
) |
Definition at line 405 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::getIntegrationPointMetaData(), getNumberOfElementIntegrationPoints(), and MeshLib::IntegrationPoint.
Referenced by partitionProperties().
std::tuple< std::vector< long >, std::vector< long > > ApplicationUtils::writeConfigData | ( | const std::string & | file_name_base, |
std::vector< Partition > const & | partitions | ||
) |
Write the configuration data of the partition data in binary files.
Definition at line 1041 of file NodeWiseMeshPartitioner.cpp.
References computePartitionOffsets(), incrementConfigOffsets(), OGS_FATAL, and ApplicationUtils::ConfigOffsets::writeConfig().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::write(), and ApplicationUtils::NodeWiseMeshPartitioner::writeOtherMesh().
void ApplicationUtils::writeElements | ( | std::string const & | file_name_base, |
std::vector< Partition > const & | partitions, | ||
std::vector< long > const & | regular_element_offsets, | ||
std::vector< long > const & | ghost_element_offsets | ||
) |
Write the element integer variables of all partitions into binary files.
file_name_base | The prefix of the file name. |
partitions | Partitions vector. |
regular_element_offsets | The numbers of all non-ghost element integer variables of each partitions. |
ghost_element_offsets | The numbers of all ghost element |
Definition at line 1125 of file NodeWiseMeshPartitioner.cpp.
References enumerateLocalNodeIds(), getElementIntegerVariables(), and OGS_FATAL.
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::write(), and ApplicationUtils::NodeWiseMeshPartitioner::writeOtherMesh().
void ApplicationUtils::writeMETIS | ( | std::vector< MeshLib::Element * > const & | elements, |
const std::string & | file_name | ||
) |
Write elements as METIS graph file
elements | The mesh elements. |
file_name | File name with an extension of mesh. |
Definition at line 19 of file Metis.cpp.
References OGS_FATAL.
Referenced by main().
void ApplicationUtils::writeNodes | ( | const std::string & | file_name_base, |
std::vector< Partition > const & | partitions, | ||
std::vector< std::size_t > const & | global_node_ids | ||
) |
Write the nodes of all partitions into a binary file.
file_name_base | The prefix of the file name. |
partitions | the list of partitions |
global_node_ids | global numbering of nodes |
Definition at line 1191 of file NodeWiseMeshPartitioner.cpp.
References OGS_FATAL.
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::write(), and ApplicationUtils::NodeWiseMeshPartitioner::writeOtherMesh().
void ApplicationUtils::writeProperties | ( | const std::string & | file_name_base, |
MeshLib::Properties const & | partitioned_properties, | ||
std::vector< Partition > const & | partitions, | ||
MeshLib::MeshItemType const | mesh_item_type | ||
) |
Definition at line 924 of file NodeWiseMeshPartitioner.cpp.
References applyToPropertyVectors(), DBUG(), OGS_FATAL, MeshLib::Properties::size(), MeshLib::IO::writePropertyVectorPartitionMetaData(), and BaseLib::writeValueBinary().
Referenced by ApplicationUtils::NodeWiseMeshPartitioner::write(), and ApplicationUtils::NodeWiseMeshPartitioner::writeOtherMesh().
bool ApplicationUtils::writePropertyVector | ( | MeshLib::PropertyVector< T > const *const | pv, |
MeshLib::MeshItemType const | mesh_item_type, | ||
std::ostream & | out_val, | ||
std::ostream & | out_meta | ||
) |
Definition at line 899 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::IO::PropertyVectorMetaData::fillPropertyVectorMetaDataTypeInfo(), MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::PropertyVector< PROP_VAL_TYPE >::getNumberOfTuples(), MeshLib::PropertyVectorBase::getPropertyName(), MeshLib::IO::PropertyVectorMetaData::number_of_components, MeshLib::IO::PropertyVectorMetaData::number_of_tuples, MeshLib::IO::PropertyVectorMetaData::property_name, MeshLib::IO::writePropertyVectorMetaData(), and writePropertyVectorValues().
void ApplicationUtils::writePropertyVectorValues | ( | std::ostream & | os, |
MeshLib::PropertyVector< T > const & | pv | ||
) |
Definition at line 892 of file NodeWiseMeshPartitioner.cpp.
References MeshLib::PropertyVector< PROP_VAL_TYPE >::size().
Referenced by writePropertyVector().