ug4
Parallel Algebra Consistency Check

with ConsistencyCheck, you can check the consistency of any array over layouts More...

Classes

class  ug::ConsistencyCheckClass< TVec, TValue >
 
class  ug::ConsistencyCheckClassSend< TVec, TValue >
 
class  ug::ConsistencyCheckClassSend< TVec, bool >
 

Functions

template<typename TVec >
void ug::ConsistencyCheck (const TVec &vec, const HorizontalAlgebraLayouts &layout, std::string name="")
 
template<typename TVec >
void ug::ConsistencyCheck (const TVec &vec, pcl::InterfaceCommunicator< IndexLayout > &com, const pcl::ProcessCommunicator &pc, const IndexLayout &masterLayout, const IndexLayout &slaveLayout, std::string name="")
 receives data over a interface based on a CommunicationScheme on a subgroup of processes More...
 

Detailed Description

with ConsistencyCheck, you can check the consistency of any array over layouts

Function Documentation

◆ ConsistencyCheck() [1/2]

◆ ConsistencyCheck() [2/2]

template<typename TVec >
void ug::ConsistencyCheck ( const TVec &  vec,
pcl::InterfaceCommunicator< IndexLayout > &  com,
const pcl::ProcessCommunicator pc,
const IndexLayout masterLayout,
const IndexLayout slaveLayout,
std::string  name = "" 
)

receives data over a interface based on a CommunicationScheme on a subgroup of processes

ConsistencyCheck

Template Parameters
TVecvector type to check
Parameters
vecvec to check
comInterfaceCommunicator used to send data
pcProcessCommunicator used for AllProcsTrue
masterLayoutlayout to send data
slaveLayoutlayout to receive data and check if equal
namename to be given out if not consistent. default ""

References pcl::AllProcsTrue(), ug::CommunicateOnInterfaces(), ug::ConsistencyCheckClass< TVec, TValue >::isOK(), name, PROFILE_FUNC_GROUP, and UG_COND_THROW.