|
Panzer Version of the Day
|
#include <Panzer_STK_SculptMeshFactory.hpp>

Public Member Functions | |
| SculptMeshFactory () | |
| Constructor. | |
| ~SculptMeshFactory () | |
| Destructor. | |
| Teuchos::RCP< STK_Interface > | buildMesh (stk::ParallelMachine parallelMach) const |
| Build the mesh object. | |
| virtual Teuchos::RCP< STK_Interface > | buildUncommitedMesh (stk::ParallelMachine parallelMach) const |
| virtual void | completeMeshConstruction (STK_Interface &mesh, stk::ParallelMachine parallelMach) const |
| void | setParameterList (const Teuchos::RCP< Teuchos::ParameterList > ¶mList) |
| From ParameterListAcceptor. | |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
| From ParameterListAcceptor. | |
| Teuchos::Tuple< std::size_t, 2 > | procRankToProcTuple (std::size_t procRank) const |
| what is the 2D tuple describe this processor distribution | |
Public Member Functions inherited from panzer_stk::STK_MeshFactory | |
| STK_MeshFactory () | |
| void | enableRebalance (bool enable, const Teuchos::RCP< const Teuchos::ParameterList > &rebalanceList=Teuchos::null) |
| void | rebalance (STK_Interface &mesh) const |
| double | getMeshCoord (const int nx, const double deltaX, const double x0) const |
Protected Member Functions | |
| void | initializeWithDefaults () |
| int | callSculptor (stk::ParallelMachine parallelMach, char *diatom_file) const |
| int | writeDiatomFile (std::string stl_path, std::string stl_filename, char *diatom_file) const |
| void | buildNodes (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
| void | buildMetaData (stk::ParallelMachine parallelMach, STK_Interface &mesh) const |
| void | buildElements (stk::ParallelMachine parallelMach, STK_Interface &mesh) 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 |
| std::pair< int, int > | determineXElemSizeAndStart (int xBlock, unsigned int size, unsigned int rank) const |
| void | addSideSets (STK_Interface &mesh) const |
| void | addNodeSets (STK_Interface &mesh) const |
| void | addEdgeBlocks (STK_Interface &mesh) const |
| void | addFaceBlocks (STK_Interface &mesh) const |
| const stk::mesh::Relation * | getRelationByID (unsigned ID, stk::mesh::PairIterRelation edges) const |
Protected Attributes | |
| std::string | stlFileName_ |
| std::string | stlFileDir_ |
| int | xInterval_ |
| int | yInterval_ |
| int | zInterval_ |
| double | xMin_ |
| double | yMin_ |
| double | zMin_ |
| double | xMax_ |
| double | yMax_ |
| double | zMax_ |
| unsigned int | machRank_ |
| unsigned int | machSize_ |
| Teuchos::Tuple< std::size_t, 2 > | procTuple_ |
Protected Attributes inherited from panzer_stk::STK_MeshFactory | |
| std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > | periodicBCVec_ |
| bool | useBBoxSearch_ |
| bool | enableRebalance_ |
| Teuchos::RCP< const Teuchos::ParameterList > | rebalanceList_ |
Additional Inherited Members | |
Static Public Member Functions inherited from panzer_stk::STK_MeshFactory | |
| static void | parsePeriodicBCList (const Teuchos::RCP< Teuchos::ParameterList > &pl, std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > &periodicBC, bool &useBBoxSearch) |
This builds a parallel mesh object. Sculpt is an all-hex meshing algorithm to handle general solids. Common geometry formats for general solids include STL, SAT, and Diatom. Major steps in Sculpt include (1) create a overlay grid on the general solid (2) remove the grid cells outside the solid (3) project the stair-step grid nodes on the boundary surface, pillow, and smooth.
Definition at line 28 of file Panzer_STK_SculptMeshFactory.hpp.
| panzer_stk::SculptMeshFactory::SculptMeshFactory | ( | ) |
Constructor.
Definition at line 23 of file Panzer_STK_SculptMeshFactory.cpp.
| panzer_stk::SculptMeshFactory::~SculptMeshFactory | ( | ) |
Destructor.
Definition at line 29 of file Panzer_STK_SculptMeshFactory.cpp.
|
virtual |
Build the mesh object.
Implements panzer_stk::STK_MeshFactory.
Definition at line 34 of file Panzer_STK_SculptMeshFactory.cpp.
|
virtual |
This builds all the meta data of the mesh. Does not call metaData->commit. Allows user to add solution fields and other pieces. The mesh can be "completed" by calling completeMeshConstruction.
Implements panzer_stk::STK_MeshFactory.
Definition at line 52 of file Panzer_STK_SculptMeshFactory.cpp.
|
virtual |
Finishes building a mesh object started by buildUncommitedMesh.
Implements panzer_stk::STK_MeshFactory.
Definition at line 199 of file Panzer_STK_SculptMeshFactory.cpp.
| void panzer_stk::SculptMeshFactory::setParameterList | ( | const Teuchos::RCP< Teuchos::ParameterList > & | paramList | ) |
From ParameterListAcceptor.
Definition at line 222 of file Panzer_STK_SculptMeshFactory.cpp.
| Teuchos::RCP< const Teuchos::ParameterList > panzer_stk::SculptMeshFactory::getValidParameters | ( | ) | const |
From ParameterListAcceptor.
Definition at line 249 of file Panzer_STK_SculptMeshFactory.cpp.
| Teuchos::Tuple< std::size_t, 2 > panzer_stk::SculptMeshFactory::procRankToProcTuple | ( | std::size_t | procRank | ) | const |
what is the 2D tuple describe this processor distribution
Convert processor rank to a tuple.
Definition at line 618 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 280 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 116 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 87 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 336 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 290 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 362 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 394 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
|
protected |
Definition at line 445 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 527 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
|
protected |
|
protected |
Definition at line 434 of file Panzer_STK_SculptMeshFactory.cpp.
|
protected |
Definition at line 71 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 71 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 72 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 72 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 72 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 73 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 73 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 73 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 74 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 74 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 74 of file Panzer_STK_SculptMeshFactory.hpp.
|
mutableprotected |
Definition at line 76 of file Panzer_STK_SculptMeshFactory.hpp.
|
protected |
Definition at line 76 of file Panzer_STK_SculptMeshFactory.hpp.
|
mutableprotected |
Definition at line 77 of file Panzer_STK_SculptMeshFactory.hpp.