This class is used during the mesh construction (extrusion) to set element ids as they are created. More...
#include <MeshExtruderGenerator.h>
Public Member Functions | |
QueryElemSubdomainID (const std::vector< SubdomainID > &existing_subdomains, std::vector< unsigned int > layers, const std::vector< unsigned int > &new_ids, unsigned int num_layers) | |
virtual subdomain_id_type | get_subdomain_for_layer (const Elem *old_elem, unsigned int layer) |
The override from the base class for obtaining a new id based on the old (original) element and the specified layer. More... | |
Private Attributes | |
std::map< unsigned int, std::map< SubdomainID, unsigned int > > | _layer_data |
Data structure for holding the old -> new id mapping based on the layer number. More... | |
unsigned int | _num_layers |
The total number of layers in the extrusion. More... | |
This class is used during the mesh construction (extrusion) to set element ids as they are created.
Definition at line 42 of file MeshExtruderGenerator.h.
MeshExtruderGenerator::QueryElemSubdomainID::QueryElemSubdomainID | ( | const std::vector< SubdomainID > & | existing_subdomains, |
std::vector< unsigned int > | layers, | ||
const std::vector< unsigned int > & | new_ids, | ||
unsigned int | num_layers | ||
) |
Definition at line 134 of file MeshExtruderGenerator.C.
|
virtual |
The override from the base class for obtaining a new id based on the old (original) element and the specified layer.
Definition at line 157 of file MeshExtruderGenerator.C.
|
private |
Data structure for holding the old -> new id mapping based on the layer number.
Definition at line 55 of file MeshExtruderGenerator.h.
Referenced by QueryElemSubdomainID().
|
private |
The total number of layers in the extrusion.
Definition at line 58 of file MeshExtruderGenerator.h.
Referenced by QueryElemSubdomainID().