43 #ifndef __Panzer_STK_SculptMeshFactory_hpp__
44 #define __Panzer_STK_SculptMeshFactory_hpp__
50 namespace panzer_stk {
85 int callSculptor(stk::ParallelMachine parallelMach,
char *diatom_file )
const ;
86 int writeDiatomFile( std::string stl_path, std::string stl_filename,
char *diatom_file )
const;
91 void buildBlock(stk::ParallelMachine parallelMach,
STK_Interface & mesh,
int block_index,
int *block_id,
int elem_start,
int *elements,
int *nodes_per_elem,
int *elem_attributes,
int **elm_node_linkage )
const;
99 const stk::mesh::Relation *
getRelationByID(
unsigned ID,stk::mesh::PairIterRelation edges)
const;
void buildMetaData(stk::ParallelMachine parallelMach, STK_Interface &mesh) const
void buildElements(stk::ParallelMachine parallelMach, STK_Interface &mesh) const
int callSculptor(stk::ParallelMachine parallelMach, char *diatom_file) const
Teuchos::RCP< STK_Interface > buildMesh(stk::ParallelMachine parallelMach) const
Build the mesh object.
virtual void completeMeshConstruction(STK_Interface &mesh, stk::ParallelMachine parallelMach) const
std::pair< int, int > determineXElemSizeAndStart(int xBlock, unsigned int size, unsigned int rank) const
Teuchos::Tuple< std::size_t, 2 > procRankToProcTuple(std::size_t procRank) const
what is the 2D tuple describe this processor distribution
Teuchos::Tuple< std::size_t, 2 > procTuple_
~SculptMeshFactory()
Destructor.
void buildNodes(stk::ParallelMachine parallelMach, STK_Interface &mesh) const
void initializeWithDefaults()
const stk::mesh::Relation * getRelationByID(unsigned ID, stk::mesh::PairIterRelation edges) const
void addNodeSets(STK_Interface &mesh) const
virtual Teuchos::RCP< STK_Interface > buildUncommitedMesh(stk::ParallelMachine parallelMach) const
void buildBlock(stk::ParallelMachine parallelMach, STK_Interface &mesh, int block_index, int *block_id, int elem_start, int *elements, int *nodes_per_elem, int *elem_attributes, int **elm_node_linkage) const
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
From ParameterListAcceptor.
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
From ParameterListAcceptor.
int writeDiatomFile(std::string stl_path, std::string stl_filename, char *diatom_file) const
SculptMeshFactory()
Constructor.
void addSideSets(STK_Interface &mesh) const