libMesh
Private Member Functions | List of all members
MeshExtruderTest::QueryElemSubdomainID Class Reference
Inheritance diagram for MeshExtruderTest::QueryElemSubdomainID:
[legend]

Private Member Functions

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...
 

Detailed Description

Definition at line 43 of file mesh_extruder.C.

Member Function Documentation

virtual subdomain_id_type MeshExtruderTest::QueryElemSubdomainID::get_subdomain_for_layer ( const Elem old_elem,
unsigned int  layer 
)
privatevirtual

The override from the base class for obtaining a new id based on the old (original) element and the specified layer.

Implements libMesh::MeshTools::Generation::QueryElemSubdomainIDBase.

Definition at line 46 of file mesh_extruder.C.

References libMesh::Elem::subdomain_id().

47  {
48  // This method will assign an new id based on the old element and the layer
49  return old_elem->subdomain_id() + layer;
50  }
subdomain_id_type subdomain_id() const
Definition: elem.h:1951

The documentation for this class was generated from the following file: