WARPXM v1.10.0
Loading...
Searching...
No Matches
WmDomain Class Reference

#include <wmdomain.h>

Public Types

typedef std::vector< WmUnstructuredPatch * > patchList_t
 
typedef std::map< int, WmUnstructuredPatch * > patchMap_t
 
typedef std::pair< int, WmUnstructuredPatch * > patchPair_t
 

Public Member Functions

 WmDomain ()
 
 ~WmDomain ()
 
void setup (const WxCryptSet &wxc)
 
void setParentSolver (WmSolverBase *parentSolver)
 
WmSolverBase const * getParentSolver () const
 
int getNumPatches () const
 
std::vector< int > getAllPartitionPIDs () const
 
std::map< int, std::pair< int, int > > getSubdomainPartitionPIDsAndNumElements (const std::string &subdomainName) const
 
std::vector< std::string > getSubdomainNames () const
 
const WmUnstructuredPatchhasPatch (int patchIndex) const
 
const WmUnstructuredPatchhasLocalPatch (int patchIndex) const
 
patchMap_t getLocalPatches () const
 
patchMap_t getLocalPatches (const std::string &subdomainName) const
 
patchMap_t getPatches () const
 
patchMap_t getPatches (const std::string &subdomainName) const
 
int primitive_id () const
 
void addPatch (WmUnstructuredPatch *pPatch)
 
int getLocalPID () const
 
const std::vector< int > & getClusterDeviceIndexes () const
 
const std::vector< int > & getClusterDeviceNodeRanks () const
 
const std::vector< float > & getClusterDeviceWeights () const
 
const std::map< std::pair< int, int >, int > & getClusterDeviceEdgeWeights () const
 

Protected Member Functions

void applyPatchOffsets ()
 
void partitionDomain ()
 

Protected Attributes

WmSolverBase_parentSolver
 
int _primitive_id
 
patchMap_t _patches
 
patchMap_t _localPatches
 
std::vector< int > _clusterDeviceIndex
 
std::vector< int > _clusterDeviceNodeRank
 
std::vector< float > _clusterDeviceWeights
 
std::map< std::pair< int, int >, int > _clusterDeviceEdgeWeights
 

Member Typedef Documentation

◆ patchList_t

◆ patchMap_t

typedef std::map<int, WmUnstructuredPatch*> WmDomain::patchMap_t

◆ patchPair_t

typedef std::pair<int, WmUnstructuredPatch*> WmDomain::patchPair_t

Constructor & Destructor Documentation

◆ WmDomain()

WmDomain::WmDomain ( )

◆ ~WmDomain()

WmDomain::~WmDomain ( )

Member Function Documentation

◆ addPatch()

void WmDomain::addPatch ( WmUnstructuredPatch pPatch)

◆ applyPatchOffsets()

void WmDomain::applyPatchOffsets ( )
protected

◆ getAllPartitionPIDs()

std::vector< int > WmDomain::getAllPartitionPIDs ( ) const

◆ getClusterDeviceEdgeWeights()

const std::map< std::pair< int, int >, int > & WmDomain::getClusterDeviceEdgeWeights ( ) const
inline

◆ getClusterDeviceIndexes()

const std::vector< int > & WmDomain::getClusterDeviceIndexes ( ) const
inline

◆ getClusterDeviceNodeRanks()

const std::vector< int > & WmDomain::getClusterDeviceNodeRanks ( ) const
inline

◆ getClusterDeviceWeights()

const std::vector< float > & WmDomain::getClusterDeviceWeights ( ) const
inline

◆ getLocalPatches() [1/2]

patchMap_t WmDomain::getLocalPatches ( ) const
inline

◆ getLocalPatches() [2/2]

patchMap_t WmDomain::getLocalPatches ( const std::string &  subdomainName) const

◆ getLocalPID()

int WmDomain::getLocalPID ( ) const

◆ getNumPatches()

int WmDomain::getNumPatches ( ) const

◆ getParentSolver()

WmSolverBase const * WmDomain::getParentSolver ( ) const
inline

◆ getPatches() [1/2]

patchMap_t WmDomain::getPatches ( ) const
inline

◆ getPatches() [2/2]

patchMap_t WmDomain::getPatches ( const std::string &  subdomainName) const

◆ getSubdomainNames()

std::vector< std::string > WmDomain::getSubdomainNames ( ) const

◆ getSubdomainPartitionPIDsAndNumElements()

std::map< int, std::pair< int, int > > WmDomain::getSubdomainPartitionPIDsAndNumElements ( const std::string &  subdomainName) const

◆ hasLocalPatch()

const WmUnstructuredPatch * WmDomain::hasLocalPatch ( int  patchIndex) const

◆ hasPatch()

const WmUnstructuredPatch * WmDomain::hasPatch ( int  patchIndex) const

◆ partitionDomain()

void WmDomain::partitionDomain ( )
protected

◆ primitive_id()

int WmDomain::primitive_id ( ) const
inline

◆ setParentSolver()

void WmDomain::setParentSolver ( WmSolverBase parentSolver)
inline

◆ setup()

void WmDomain::setup ( const WxCryptSet wxc)

Member Data Documentation

◆ _clusterDeviceEdgeWeights

std::map<std::pair<int, int>, int> WmDomain::_clusterDeviceEdgeWeights
protected

◆ _clusterDeviceIndex

std::vector<int> WmDomain::_clusterDeviceIndex
protected

◆ _clusterDeviceNodeRank

std::vector<int> WmDomain::_clusterDeviceNodeRank
protected

◆ _clusterDeviceWeights

std::vector<float> WmDomain::_clusterDeviceWeights
protected

◆ _localPatches

patchMap_t WmDomain::_localPatches
protected

◆ _parentSolver

WmSolverBase* WmDomain::_parentSolver
protected

◆ _patches

patchMap_t WmDomain::_patches
protected

◆ _primitive_id

int WmDomain::_primitive_id
protected

The documentation for this class was generated from the following file: