61 bool SynchronizeConditions =
false):
63 mNumberOfPartitions(NumberOfPartitions),
64 mSynchronizeConditions(SynchronizeConditions),
95 void Execute()
override;
97 virtual void GetNodesPartitions(std::vector<idxtype> &rNodePartition,
SizeType &rNumNodes);
114 std::string
Info()
const override
116 return "MetisDivideHeterogeneousInputProcess";
122 rOStream <<
"MetisDivideHeterogeneousInputProcess";
176 int PartitionNodes(
SizeType NumNodes,
179 std::vector<idxtype>& rNodePartition);
182 void PartitionMesh(std::vector<idxtype>
const& NodePartition,
184 std::vector<idxtype>& rElemPartition);
187 void PartitionElementsSynchronous(std::vector<idxtype>
const& NodePartition,
189 std::vector<idxtype>& rElemPartition);
192 void PartitionConditionsSynchronous(
const std::vector<idxtype>& rNodePartition,
193 const std::vector<idxtype>& rElemPartition,
196 std::vector<idxtype>& rCondPartition);
198 void RedistributeHangingNodes(
199 std::vector<idxtype>& rNodePartition,
200 std::vector<idxtype>
const& rElementPartition,
202 std::vector<idxtype>
const& rConditionPartition,
207 void PrintDebugData(
const std::string& rLabel,
208 const std::vector<idxtype>& rPartitionData);
255 rOStream << std::endl;
IO provides different implementation of input output procedures which can be used to read and write w...
Definition: io.h:58
std::vector< std::vector< std::size_t > > ConnectivitiesContainerType
Definition: io.h:91
DenseMatrix< int > GraphType
Definition: io.h:99
std::size_t SizeType
Definition: io.h:97
std::vector< std::size_t > PartitionIndicesType
Definition: io.h:95
std::vector< std::vector< std::size_t > > PartitionIndicesContainerType
Definition: io.h:93
Definition: amatrix_interface.h:41
The base class for all processes in Kratos.
Definition: process.h:49
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432