44 : std::vector<unsigned int>(v)
59 std::string &
Name(
const std::string &name) {
return(
_name.assign(name));};
64 : std::vector<T>(size)
70 : std::vector<T>(size,val)
141 unsigned int NNodes(
void);
145 double *node_data,
int nval_nodes);
207 std::vector<double> &fvec,
unsigned int ncomp,
208 const std::string &unit);
236 void populate(
int rpid,
int nnshared,
int nnsend,
int nnrecv,
237 int ncsend,
int ncrecv,
int *sharedn,
int *sendn,
238 int *recvn,
int *sendc,
int *recvc);
304 std::vector<GEM_PartitionBoundary>
_pb;
305 std::vector<GEM_DomainBoundary>
_db;
343 int nnrecv,
int ncsend,
int ncrecv,
344 int *nshared,
int *nsend,
int *nrecv,
345 int *csend,
int *crecv);
348 int nquad,
int ngquad,
int *quads);
350 int nval_cells,
double *node_data,
353 int nval_cells,
double *node_data,
355 bool debug(
bool s =
true);
385 unsigned int Elem2Cell(std::pair<unsigned int,unsigned int>);
390 std::pair<unsigned int,unsigned int>
Cell2Elem(
unsigned int);
394 unsigned int ngel,std::vector<unsigned int> &conn,
395 unsigned int esize,
bool ghost_part =
false);
402 bool ReadRocstar(
const std::string &,
double t = 0.0);
405 std::vector< std::vector<
406 std::vector<unsigned int> > > &index_vectors,
407 unsigned int &nreal,
unsigned int &ng,
408 std::vector<int> &pc);
418 unsigned int ncomp,
const std::string &unit);
465 _comm = MPI_COMM_NULL;
void AddDomainBoundary(int db_id, int ntri, int ngtri, int *tris, int nquad, int ngquad, int *quads)
bool InitRoccomWindows(const std::string &wname)
void Create_com_surfsoln(const std::string &wname, const std::string &fname, std::vector< double > &fvec, unsigned int ncomp, const std::string &unit)
void MapDomainBoundaries(std::map< unsigned int, unsigned int > &bcmap)
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)
void Create_com_volsoln(const std::string &fname, std::vector< double > &fvec, unsigned int ncomp, const std::string &unit)
std::vector< unsigned int > surface_quad
std::vector< unsigned int > _tetconn
std::vector< unsigned int > _recvnodes
std::vector< std::vector< int > > _int_data
std::vector< unsigned int > _sendcells
GEM_DomainBoundary & operator=(const GEM_DomainBoundary &db)
std::vector< std::string > _string_data
std::vector< double > surface_coordinates
unsigned int NNodes(void)
void AddParitionBoundary(int rpid, int nnshare, int nnsend, int nnrecv, int ncsend, int ncrecv, int *nshared, int *nsend, int *nrecv, int *csend, int *crecv)
bool validate_comm_list(int ncsend, int ncrecv, int *csend, int *crecv)
std::vector< unsigned int > _quadconn
GEM_UserData _solver_data
void ResolveCellMapping(GEM_Partition &sp)
bool WriteRocstar(const std::string &, double t=0.0)
bool flip_elements(std::vector< unsigned int > &, unsigned int)
bool SetSolverDataBlock(const std::string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes)
std::vector< unsigned int > _sharenodes
std::string & Name(const std::string &name)
unsigned int _cell_ordering[4]
std::vector< std::vector< double > > _field_data
GEM_PartitionBoundary(const GEM_PartitionBoundary &pb)
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
std::vector< unsigned int > _recvcells
std::vector< unsigned int > _sendnodes
std::vector< int > _stride_int
const std::string & Name() const
bool CreatePconn(const std::string &wname)
std::vector< GEM_DataItem< int > > _int_items
bool AddSolverDataBlock(const std::string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes)
unsigned int Elem2Cell(std::pair< unsigned int, 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)
unsigned int pconn_nghost
GEM_DomainBoundary(const GEM_DomainBoundary &db)
std::vector< unsigned int > _triconn
bool PopulateSurfaceWindow(const std::string &wname)
std::vector< GEM_DomainBoundary > _db
GEM_Partition & operator=(const GEM_Partition &gp)
std::vector< unsigned int > _pyrconn
GEM_PartitionBoundary & operator=(const GEM_PartitionBoundary &pb)
unsigned int surface_ngnodes
std::vector< unsigned int > _hexconn
void populate(int rpid, int nnshared, int nnsend, int nnrecv, int ncsend, int ncrecv, int *sharedn, int *sendn, int *recvn, int *sendc, int *recvc)
std::vector< int > _stride_field
bool Register_com_surfmesh(const std::string &wname)
bool ReadRocstar(const std::string &, double t=0.0)
bool SetSolverDataBlock(const std::string &wname, double *cell_data, int nval_cells, double *node_data, int nval_nodes)
std::vector< GEM_PartitionBoundary > _pb
std::vector< unsigned int > surface_tri
std::string volume_window
void SetVolumeElements(int *data, int ncells, int ng, int npe)
std::pair< unsigned int, unsigned int > Cell2Elem(unsigned int)
GEM_UserData _solver_data
GEM_Partition(const GEM_Partition &gp)
std::vector< GEM_DataItem< double > > _double_items
bool PopulateVolumeWindow(const std::string &wname)
void report_domain_boundaries()
std::vector< double > _nc
void SetNodalCoordinates(double *data, int nn, int ng)
std::vector< unsigned int > _prisconn
GEM_Connectivity(const std::vector< unsigned int > &v)
std::string surface_window
std::vector< GEM_DataItem< std::string > > _string_items
void PopulateSurfaceArrays(const std::vector< double > &, unsigned int)
GEM_Partition(unsigned int id, MPI_Comm comm=MPI_COMM_NULL)
void report_partition_boundaries()
bool PopulatePartitionBoundaries(std::vector< GEM_PartitionBoundary > &pb)