#include <Partition.H>
Public Member Functions | |
bool | ReadPartition (const string &pre, unsigned int rank) |
bool | ReadPartitionBoundaries (ifstream &Inf) |
bool | ReadPartitionPatches (ifstream &Inf) |
bool | ReadPartitionASCII (const string &pre, unsigned int rank) |
bool | ReadPartitionBoundariesASCII (ifstream &Inf) |
bool | ReadPartitionPatchesASCII (ifstream &Inf) |
bool | WritePartitionASCII (const string &pre) |
bool | WritePartitionBoundariesASCII (ofstream &Ouf) |
bool | WritePartitionPatchesASCII (ofstream &Ouf) |
bool | BuildPartitionBoundaries (const vector< int > &Pconn) |
Partition (const GEM_Partition &gp) | |
Partition () | |
![]() | |
bool | validate_comm_list (int ncsend, int ncrecv, int *csend, int *crecv) |
bool | ValidateMesh () |
void | AddParitionBoundary (int rpid, int nnshare, int nnsend, int nnrecv, int ncsend, int ncrecv, int *nshared, int *nsend, int *nrecv, int *csend, int *crecv) |
void | AddDomainBoundary (int db_id, int ntri, int ngtri, int *tris, int nquad, int ngquad, int *quads) |
bool | SetSolverDataBlock (const std::string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes) |
bool | AddSolverDataBlock (const std::string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes) |
bool | debug (bool s=true) |
void | ResolveCellMapping (GEM_Partition &sp) |
void | SetNodalCoordinates (double *data, int nn, int ng) |
void | SetVolumeElements (int *data, int ncells, int ng, int npe) |
bool | PopulatePartitionBoundaries (std::vector< GEM_PartitionBoundary > &pb) |
void | MapDomainBoundaries (std::map< unsigned int, unsigned int > &bcmap) |
void | report () |
void | report_partition_boundaries () |
void | report_domain_boundaries () |
unsigned int | nelem () |
unsigned int | Elem2Cell (std::pair< unsigned int, unsigned int >) |
std::pair< unsigned int, unsigned int > | Cell2Elem (unsigned int) |
void | Register_com_volconn (const std::string &wname, int paneid, unsigned int nel, unsigned int ngel, std::vector< unsigned int > &conn, unsigned int esize, bool ghost_part=false) |
bool | WindowInitDone () |
bool | DestroyWindows () |
bool | WriteRocstar (const std::string &, double t=0.0) |
bool | ReadRocstar (const std::string &, double t=0.0) |
bool | InitRoccomWindows (const std::string &wname) |
void | Create_com_pconn (std::vector< unsigned int > rpids, std::vector< std::vector< std::vector< unsigned int > > > &index_vectors, unsigned int &nreal, unsigned int &ng, std::vector< int > &pc) |
bool | CreatePconn (const std::string &wname) |
bool | PopulateVolumeWindow (const std::string &wname) |
bool | PopulateSurfaceWindow (const std::string &wname) |
void | Create_com_volsoln (const std::string &fname, std::vector< double > &fvec, unsigned int ncomp, const std::string &unit) |
GEM_Partition (const GEM_Partition &gp) | |
GEM_Partition () | |
GEM_Partition (unsigned int id, MPI_Comm comm=MPI_COMM_NULL) | |
GEM_Partition & | operator= (const GEM_Partition &gp) |
Public Attributes | |
unsigned int | _nnodes |
unsigned int | _nelem |
unsigned int | _ntet |
unsigned int | _nhex |
unsigned int | _npyr |
unsigned int | _npris |
unsigned int | _npatch |
vector< PartitionBoundary > | _boundaries |
vector< PartitionPatch > | _patches |
![]() | |
unsigned int | _id |
unsigned int | _npart |
unsigned int | _ngnodes |
unsigned int | _ngtet |
unsigned int | _nghex |
unsigned int | _ngpyr |
unsigned int | _ngpris |
unsigned int | _nvface |
std::vector< double > | _nc |
std::vector< unsigned int > | _tetconn |
std::vector< unsigned int > | _pyrconn |
std::vector< unsigned int > | _prisconn |
std::vector< unsigned int > | _hexconn |
unsigned int | _cell_ordering [4] |
std::vector < GEM_PartitionBoundary > | _pb |
std::vector< GEM_DomainBoundary > | _db |
GEM_UserData | _data |
GEM_UserData | _solver_data |
std::ostream * | _out |
bool | _debug |
MPI_Comm | _comm |
int | pane_id |
std::vector< int > | pconn |
unsigned int | pconn_nghost |
std::string | volume_window |
std::string | surface_window |
Definition at line 91 of file Partition.H.
Partition | ( | const GEM_Partition & | gp | ) |
|
inline |
Definition at line 113 of file Partition.H.
bool BuildPartitionBoundaries | ( | const vector< int > & | Pconn | ) |
Definition at line 523 of file Partition.C.
References PartitionBoundary::_belem_recv, PartitionBoundary::_belem_send, GEM_PartitionBoundary::_recvcells, GEM_PartitionBoundary::_recvnodes, GEM_PartitionBoundary::_rpart, GEM_PartitionBoundary::_sendcells, GEM_PartitionBoundary::_sendnodes, and GEM_PartitionBoundary::_sharenodes.
bool ReadPartition | ( | const string & | pre, |
unsigned int | rank | ||
) |
Definition at line 402 of file Partition.C.
References rank.
bool ReadPartitionASCII | ( | const string & | pre, |
unsigned int | rank | ||
) |
Definition at line 452 of file Partition.C.
bool ReadPartitionBoundaries | ( | ifstream & | Inf | ) |
Definition at line 387 of file Partition.C.
References PartitionBoundary::MyRank(), and PartitionBoundary::ReadPartitionBoundary().
bool ReadPartitionBoundariesASCII | ( | ifstream & | Inf | ) |
Definition at line 360 of file Partition.C.
References PartitionBoundary::ReadPartitionBoundaryASCII().
bool ReadPartitionPatches | ( | ifstream & | Inf | ) |
Definition at line 125 of file Partition.C.
References PartitionPatch::ReadPartitionPatch().
bool ReadPartitionPatchesASCII | ( | ifstream & | Inf | ) |
Definition at line 143 of file Partition.C.
References PartitionPatch::ReadPartitionPatchASCII().
bool WritePartitionASCII | ( | const string & | pre | ) |
Definition at line 691 of file Partition.C.
bool WritePartitionBoundariesASCII | ( | ofstream & | Ouf | ) |
Definition at line 374 of file Partition.C.
References PartitionBoundary::WritePartitionBoundaryASCII().
bool WritePartitionPatchesASCII | ( | ofstream & | Ouf | ) |
Definition at line 159 of file Partition.C.
References PartitionPatch::WritePartitionPatchASCII().
vector<PartitionBoundary> _boundaries |
Definition at line 100 of file Partition.H.
unsigned int _nelem |
Definition at line 94 of file Partition.H.
unsigned int _nhex |
Definition at line 96 of file Partition.H.
unsigned int _nnodes |
Definition at line 93 of file Partition.H.
unsigned int _npatch |
Definition at line 99 of file Partition.H.
unsigned int _npris |
Definition at line 98 of file Partition.H.
unsigned int _npyr |
Definition at line 97 of file Partition.H.
unsigned int _ntet |
Definition at line 95 of file Partition.H.
vector<PartitionPatch> _patches |
Definition at line 101 of file Partition.H.