libMesh::ReferenceElem Namespace Reference

Functions

const Elemget (const ElemType Type)
 

Detailed Description

This namespace implements singleton reference elements for each fundamental element type supported by libMesh.

Author
Benjamin S. Kirk, 2013.

Function Documentation

const Elem & libMesh::ReferenceElem::get ( const ElemType  Type)
Returns
a constant reference to the reference element of the user-requested type.

Definition at line 242 of file reference_elem.C.

References libMeshEnums::INVALID_ELEM, and libMesh::libmesh_assert().

Referenced by libMesh::Elem::reference_elem().

243  {
244  libmesh_assert_less (Type, INVALID_ELEM);
245 
246  init_ref_elem_table();
247 
248  libmesh_assert (ref_elem_map[Type] != NULL);
249 
250  return *ref_elem_map[Type];
251  }

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:33 UTC

Hosted By:
SourceForge.net Logo