13 #if !defined(KRATOS_MPI_COLORING_UTILITIES_H_INCLUDED )
14 #define KRATOS_MPI_COLORING_UTILITIES_H_INCLUDED
82 static std::vector<int> ComputeRecvList(
83 const std::vector<int>& rLocalDestinationIds,
102 static std::vector<int> ComputeCommunicationScheduling(
103 const std::vector<int>& rLocalDestinationIds,
130 virtual std::string
Info()
const
132 std::stringstream buffer;
133 buffer <<
"MPIColoringUtilities" ;
140 rOStream <<
"MPIColoringUtilities";
172 static bool HasEdge(std::map<
int, std::map<int, int> >& rGraph,
int i,
int j);
252 template<
class TDataType >
260 template<
class TDataType >
265 rOStream << std::endl;
Serial (do-nothing) version of a wrapper class for MPI communication.
Definition: data_communicator.h:318
This class provides elementary function for computing the recv list and to define a coloring for comm...
Definition: communication_coloring_utilities.h:55
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: communication_coloring_utilities.h:144
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: communication_coloring_utilities.h:138
virtual std::string Info() const
Turn back information as a string.
Definition: communication_coloring_utilities.h:130
KRATOS_CLASS_POINTER_DEFINITION(MPIColoringUtilities)
Pointer definition of MPIColoringUtilities.
MPIColoringUtilities()
Default constructor.
Definition: communication_coloring_utilities.h:68
virtual ~MPIColoringUtilities()
Destructor.
Definition: communication_coloring_utilities.h:71
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
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
def load(f)
Definition: ode_solve.py:307
int j
Definition: quadrature.py:648
integer i
Definition: TensorModule.f:17