|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
A helper class for building an STK BulkData entity. More...
#include <MeshBuilder.hpp>
Public Member Functions | |
Constructors and destructor | |
| MeshBuilder () | |
| Default constructor. | |
| MeshBuilder (stk::ParallelMachine comm) | |
| Constructor with given given communicator. | |
Setters | |
| MeshBuilder & | set_spatial_dimension (const unsigned spatial_dimension) |
| Set the spatial dimension of the mash. | |
| MeshBuilder & | set_entity_rank_names (const std::vector< std::string > &entity_rank_names) |
| Set the names assigned to each rank. | |
| MeshBuilder & | set_communicator (const stk::ParallelMachine &comm) |
| Set the MPI communicator to be used by STK. | |
| MeshBuilder & | set_auto_aura_option (const stk::mesh::BulkData::AutomaticAuraOption &auto_aura_option) |
| Set the chosen Aura option. For example, stk::mesh::BulkData::AUTO_AURA. | |
| MeshBuilder & | set_add_fmwk_data_flag (bool add_fmwk_data_flag) |
| Set the add framework data flag. | |
| MeshBuilder & | set_field_data_manager (stk::mesh::FieldDataManager *const field_data_manager_ptr) |
| Set the field data manager. | |
| MeshBuilder & | set_bucket_capacity (const unsigned bucket_capacity) |
| Set the upper bound on the number of mesh entities that may be associated with a single bucket. | |
| MeshBuilder & | set_initial_bucket_capacity (const unsigned initial_bucket_capacity) |
| Set the initial upper bound on the number of mesh entities that may be associated with a single bucket. | |
| MeshBuilder & | set_maximum_bucket_capacity (const unsigned maximum_bucket_capacity) |
| Set the maximum upper bound on the number of mesh entities that may be associated with a single bucket. | |
| MeshBuilder & | set_upward_connectivity_flag (const bool enable_upward_connectivity) |
| Set the flag specifying if upward connectivity will be enabled or not. | |
Actions | |
| std::shared_ptr< stk::mesh::impl::AuraGhosting > | create_aura_ghosting () |
| Create a new aura ghosting instance. | |
| std::shared_ptr< MetaData > | create_meta_data () |
| Create a new MetaData instance. | |
| std::unique_ptr< BulkData > | create_bulk_data () |
| Create a new BulkData instance. | |
| std::unique_ptr< BulkData > | create_bulk_data (std::shared_ptr< MetaData > meta_data) |
| Create a new BulkData instance using an existing MetaData instance. | |
This class is a duplicate of STK's MeshBuilder with our extended BulkData and MetaMesh in place of STK's.
| mundy::mesh::MeshBuilder::MeshBuilder | ( | ) |
|
explicit |
| MeshBuilder & mundy::mesh::MeshBuilder::set_spatial_dimension | ( | const unsigned | spatial_dimension | ) |
| spatial_dimension | [in] The dimension of the space within which the parts and entities reside. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_entity_rank_names | ( | const std::vector< std::string > & | entity_rank_names | ) |
| entity_rank_names | [in] The names assigned to each rank. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_communicator | ( | const stk::ParallelMachine & | comm | ) |
| comm | [in] The MPI communicator. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_auto_aura_option | ( | const stk::mesh::BulkData::AutomaticAuraOption & | auto_aura_option | ) |
| auto_aura_option | [in] The chosen Aura option. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_add_fmwk_data_flag | ( | bool | add_fmwk_data_flag | ) |
| add_fmwk_data_flag | [in] A Siera-specific flag, whose purpose is unbeknownst to me. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_field_data_manager | ( | stk::mesh::FieldDataManager *const | field_data_manager_ptr | ) |
| field_data_manager_ptr | [in] Pointer to an existing field data manager. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_bucket_capacity | ( | const unsigned | bucket_capacity | ) |
Although subject to change, the maximum bucket capacity is currently 1024 and the default capacity is 512.
| bucket_capacity | [in] The bucket capacity. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_initial_bucket_capacity | ( | const unsigned | initial_bucket_capacity | ) |
Although subject to change, the maximum bucket capacity is currently 1024 and the default capacity is 512.
| initial_bucket_capacity | [in] The initial bucket capacity. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_maximum_bucket_capacity | ( | const unsigned | maximum_bucket_capacity | ) |
Although subject to change, the maximum bucket capacity is currently 1024 and the default capacity is 512.
| bucket_capacity | [in] The maximum bucket capacity. |
| MeshBuilder & mundy::mesh::MeshBuilder::set_upward_connectivity_flag | ( | const bool | enable_upward_connectivity | ) |
| enable_upward_connectivity | [in] A flag specifying if upward connectivity will be enabled or not. |
| std::shared_ptr< stk::mesh::impl::AuraGhosting > mundy::mesh::MeshBuilder::create_aura_ghosting | ( | ) |
| std::shared_ptr< MetaData > mundy::mesh::MeshBuilder::create_meta_data | ( | ) |
| std::unique_ptr< BulkData > mundy::mesh::MeshBuilder::create_bulk_data | ( | ) |