#include <FluRegion.H>


Public Member Functions | |
| void | report () |
| unsigned int | nelem () |
| bool | BuildCellMapping () |
| bool | Cell2Elem (unsigned int, unsigned int &, unsigned int &) |
| bool | BuildPatchMapping (map< unsigned int, unsigned int > &, const string &p="") |
| bool | WriteFluNative (const string &p="") |
| bool | WriteFluCMP (const string &p="") |
| bool | ReadFluCOM (const string &p="") |
| bool | WriteFluCOM (const string &p="") |
| bool | ReadFluDIM (const string &p="", double=0.0, bool=true) |
| bool | WriteFluDIM (const string &p="", double=0.0, bool=true) |
| bool | ReadFluGridASCII (const std::string &p="", double=0.0, bool=true) |
| bool | WriteFluGridASCII (const string &pre="", double=0.0, bool=true) |
| bool | ReadFluSolnASCII (const std::string &p="", unsigned int=0, double=0.0, bool=true) |
| bool | WriteFluSolnASCII (const std::string &p="", unsigned int=0, double=0.0, bool=true) |
| bool | WriteGSPASCII (const std::string &p="", unsigned int=0, double=0.0, bool=true) |
| bool | ReadGSPASCII (const std::string &p="", unsigned int=0, double=0.0, bool=true) |
| bool | ReadRegionASCII (const string &p="", unsigned int=0, unsigned int=0, double=0.0, bool=true) |
| bool | InitSurfaceSoln (const string &p="") |
| bool | InitVolumeSoln (const string &p="") |
| bool | CreateRegionMapFile (const string &p="", unsigned int=0, unsigned int=0) |
| void | PopRemBordIndMPI () |
| bool | PopRemBordIndFILE (const string &p="", double=0.0, bool=true) |
| bool | ComRemeshInitData (const string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes) |
| bool | ReadControlFile () |
| FluRegion () | |
| FluRegion (const GEM_Partition &gp) | |
| template<typename DB > | |
| bool | PopulateFluPatches (const string &pre, vector< DB > &db) |
| template<typename PB > | |
| bool | PopulateFluBorders (vector< PB > &pb) |
| bool | validate_comm_list (int ncsend, int ncrecv, int *csend, int *crecv) |
| void | AddFluBorder (int rpid, int rpin, int nnshare, int nnsend, int nnrecv, int ncsend, int ncrecv, int *nshared, int *nsend, int *nrecv, int *csend, int *crecv) |
| void | AddFluPatch (int patch_id, int ntri, int ngtri, int *tris, int nquad, int ngquad, int *quads) |
| bool | RegisterFluSurfaceMesh () |
| bool | RegisterSurfaceSoln (bool) |
| bool | RegisterVolumeSoln (bool) |
Public Member Functions inherited from GEM_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 | |
| string | _casename |
| string | _casepath |
| unsigned int | _nnodes |
| unsigned int | _ntet |
| unsigned int | _nhex |
| unsigned int | _npyr |
| unsigned int | _npris |
| unsigned int | _npatches_total |
| vector< FluPatch > | _patches |
| vector< FluBorder > | _borders |
| FluVolumeSoln | _soln |
| vector< pair< unsigned int, unsigned int > > | _cellmap |
Public Attributes inherited from GEM_Partition | |
| 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 119 of file FluRegion.H.
|
inline |
Definition at line 170 of file FluRegion.H.
References _borders, _casename, GEM_Partition::_cell_ordering, _nhex, _nnodes, _npatches_total, _npris, _npyr, _ntet, and _patches.
|
inline |
Definition at line 187 of file FluRegion.H.
References _casename, GEM_Partition::_cell_ordering, GEM_Partition::_hexconn, GEM_Partition::_nc, _nhex, _nnodes, _npris, _npyr, _ntet, GEM_Partition::_prisconn, GEM_Partition::_pyrconn, and GEM_Partition::_tetconn.
|
inline |
Definition at line 286 of file FluRegion.H.
References _borders, GEM_Partition::_debug, GEM_Partition::_id, GEM_PartitionBoundary::_out, GEM_Partition::_out, FluBorder::_rbid, GEM_PartitionBoundary::populate(), and validate_comm_list().

|
inline |
Definition at line 307 of file FluRegion.H.
References GEM_Partition::_debug, GEM_DomainBoundary::_id, GEM_Partition::_id, GEM_DomainBoundary::_ngquad, GEM_DomainBoundary::_ngtri, FluPatch::_nquad, FluPatch::_ntri, GEM_DomainBoundary::_out, GEM_Partition::_out, _patches, GEM_DomainBoundary::_quadconn, and GEM_DomainBoundary::_triconn.
| bool BuildCellMapping | ( | ) |
| bool BuildPatchMapping | ( | map< unsigned int, unsigned int > & | , |
| const string & | p = "" |
||
| ) |
Definition at line 1534 of file FluRegion.C.
Referenced by PopulateFluPatches().

| bool Cell2Elem | ( | unsigned | int, |
| unsigned int & | , | ||
| unsigned int & | |||
| ) |
| bool ComRemeshInitData | ( | const string & | wname, |
| double * | cell_data, | ||
| int | nval_cells, | ||
| double * | node_data, | ||
| int | nval_nodes | ||
| ) |
Definition at line 1653 of file FluRegion.C.
| bool CreateRegionMapFile | ( | const string & | p = "", |
| unsigned | int = 0, |
||
| unsigned | int = 0 |
||
| ) |
Definition at line 328 of file FluRegion.C.
Referenced by main().

| bool InitSurfaceSoln | ( | const string & | p = "" | ) |
Definition at line 862 of file FluRegion.C.
References FluPatch::InitSurfaceSoln().

| bool InitVolumeSoln | ( | const string & | p = "" | ) |
Definition at line 776 of file FluRegion.C.
References sqrt().

| unsigned int nelem | ( | ) |
Definition at line 42 of file FluRegion.C.
| bool PopRemBordIndFILE | ( | const string & | p = "", |
| double | = 0.0, |
||
| bool | = true |
||
| ) |
Definition at line 581 of file FluRegion.C.
References SkipLines().

| void PopRemBordIndMPI | ( | ) |
Definition at line 1615 of file FluRegion.C.
References MPI_COMM_WORLD.
|
inline |
|
inline |
Definition at line 202 of file FluRegion.H.
References _patches, BuildPatchMapping(), and GEM_Partition::MapDomainBoundaries().

| bool ReadControlFile | ( | ) |
Definition at line 101 of file FluRegion.C.
| bool ReadFluCOM | ( | const string & | p = "" | ) |
Definition at line 249 of file FluRegion.C.
References SkipLines().

| bool ReadFluDIM | ( | const string & | p = "", |
| double | = 0.0, |
||
| bool | = true |
||
| ) |
Definition at line 463 of file FluRegion.C.
References SkipLines().

| bool ReadFluGridASCII | ( | const std::string & | p = "", |
| double | t = 0.0, |
||
| bool | unsteady = true |
||
| ) |
Definition at line 975 of file FluRegion.C.
References FluPatch::_nquad, FluPatch::_ntri, GEM_DomainBoundary::_quadconn, GEM_DomainBoundary::_triconn, i, and SkipLines().

| bool ReadFluSolnASCII | ( | const std::string & | p = "", |
| unsigned int | n = 0, |
||
| double | t = 0.0, |
||
| bool | unsteady = true |
||
| ) |
Definition at line 1229 of file FluRegion.C.
References i, n, and SkipLines().

| bool ReadGSPASCII | ( | const std::string & | p = "", |
| unsigned int | n = 0, |
||
| double | t = 0.0, |
||
| bool | unsteady = true |
||
| ) |
Definition at line 1480 of file FluRegion.C.
References FluSurfSoln::_gsp, GEM_DomainBoundary::_ngquad, GEM_DomainBoundary::_ngtri, FluPatch::_nquad, FluPatch::_ntri, FluPatch::_soln, FluPatch::InitSurfaceSoln(), n, and SkipLines().

| bool ReadRegionASCII | ( | const string & | p = "", |
| unsigned | int = 0, |
||
| unsigned | int = 0, |
||
| double | = 0.0, |
||
| bool | = true |
||
| ) |
Definition at line 1577 of file FluRegion.C.
Referenced by main().

| bool RegisterFluSurfaceMesh | ( | ) |
Definition at line 1783 of file FluRegion.C.
References GEM_DomainBoundary::_ngquad, GEM_DomainBoundary::_ngtri, GEM_DomainBoundary::_quadconn, GEM_DomainBoundary::_triconn, COM_INT, COM_new_attribute(), COM_set_array(), COM_set_size(), and GEM_DomainBoundary::pane_id.
Referenced by main().


| bool RegisterSurfaceSoln | ( | bool | all | ) |
Definition at line 1742 of file FluRegion.C.
References COM_DOUBLE, COM_INT, COM_new_attribute(), and FluPatch::RegisterSoln().
Referenced by main().


| bool RegisterVolumeSoln | ( | bool | all | ) |
Definition at line 1689 of file FluRegion.C.
References COM_DOUBLE, COM_new_attribute(), COM_set_array(), and COM_set_size().
Referenced by main().


| void report | ( | ) |
Definition at line 47 of file FluRegion.C.
References GEM_DomainBoundary::_id, GEM_DomainBoundary::_ngquad, GEM_DomainBoundary::_ngtri, FluPatch::_nquad, FluPatch::_ntri, FluBorder::_rbid, GEM_PartitionBoundary::_recvcells, GEM_PartitionBoundary::_recvnodes, GEM_PartitionBoundary::_rpart, GEM_PartitionBoundary::_sendcells, GEM_PartitionBoundary::_sendnodes, and GEM_PartitionBoundary::_sharenodes.
|
inline |
Definition at line 236 of file FluRegion.H.
References GEM_Partition::_hexconn, GEM_Partition::_nghex, GEM_Partition::_ngpris, GEM_Partition::_ngpyr, GEM_Partition::_ngtet, GEM_Partition::_out, GEM_Partition::_prisconn, GEM_Partition::_pyrconn, and GEM_Partition::_tetconn.
Referenced by AddFluBorder().

| bool WriteFluCMP | ( | const string & | p = "" | ) |
Definition at line 697 of file FluRegion.C.
| bool WriteFluCOM | ( | const string & | p = "" | ) |
| bool WriteFluDIM | ( | const string & | p = "", |
| double | = 0.0, |
||
| bool | = true |
||
| ) |
Definition at line 378 of file FluRegion.C.
| bool WriteFluGridASCII | ( | const string & | pre = "", |
| double | = 0.0, |
||
| bool | = true |
||
| ) |
Definition at line 1085 of file FluRegion.C.
References FluPatch::_nquad, FluPatch::_ntri, GEM_DomainBoundary::_quadconn, GEM_DomainBoundary::_triconn, and i.
Referenced by main().

| bool WriteFluNative | ( | const string & | p = "" | ) |
Definition at line 114 of file FluRegion.C.
Referenced by main().

| bool WriteFluSolnASCII | ( | const std::string & | p = "", |
| unsigned int | n = 0, |
||
| double | t = 0.0, |
||
| bool | unsteady = true |
||
| ) |
Definition at line 1298 of file FluRegion.C.
Referenced by main().

| bool WriteGSPASCII | ( | const std::string & | p = "", |
| unsigned int | n = 0, |
||
| double | t = 0.0, |
||
| bool | unsteady = true |
||
| ) |
Definition at line 1389 of file FluRegion.C.
References FluSurfSoln::_gsp, GEM_DomainBoundary::_ngquad, GEM_DomainBoundary::_ngtri, FluPatch::_nquad, FluPatch::_ntri, FluPatch::_soln, face, and n.
| vector<FluBorder> _borders |
Definition at line 133 of file FluRegion.H.
Referenced by AddFluBorder(), FluRegion(), main(), and PopulateFluBorders().
| string _casename |
Definition at line 121 of file FluRegion.H.
Referenced by FluRegion().
| string _casepath |
Definition at line 122 of file FluRegion.H.
| vector<pair<unsigned int,unsigned int> > _cellmap |
Definition at line 135 of file FluRegion.H.
| unsigned int _nhex |
Definition at line 128 of file FluRegion.H.
Referenced by FluRegion().
| unsigned int _nnodes |
Definition at line 126 of file FluRegion.H.
Referenced by FluRegion().
| unsigned int _npatches_total |
Definition at line 131 of file FluRegion.H.
Referenced by FluRegion().
| unsigned int _npris |
Definition at line 130 of file FluRegion.H.
Referenced by FluRegion().
| unsigned int _npyr |
Definition at line 129 of file FluRegion.H.
Referenced by FluRegion().
| unsigned int _ntet |
Definition at line 127 of file FluRegion.H.
Referenced by FluRegion().
| vector<FluPatch> _patches |
Definition at line 132 of file FluRegion.H.
Referenced by AddFluPatch(), FluRegion(), main(), and PopulateFluPatches().
| FluVolumeSoln _soln |
Definition at line 134 of file FluRegion.H.