BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::fem::Element Class Reference

#include <cl_FEM_Element.hpp>

Public Member Functions

 Element (Block *aParent, DofManager *aDofManager, mesh::Element *aElement)
 Element (Block *aParent, mesh::Element *aElement)
 Element (mesh::Element *aElement)
 Element (SideSet *aParent, DofManager *aDofManager, mesh::Facet *aFacet, const SideSetDofLinkMode aSideSetDofLinkMode, Element *aMaster, Element *aSlave)
 constructor for facet
 Element (SideSet *aParent, DofManager *aDofManager, mesh::Facet *aFacet, Cell< mesh::Facet * > &aLayers, const id_t aMasterBlockID, const id_t aSlaveBlockID)
 constructor for thin shells
virtual ~Element ()
mesh::Element * element ()
 expose the underlying element on the mesh
Dof * dof (const index_t aIndex)
 expose a specific dof
uint number_of_dofs () const
 expose the number of dofs
Dof * local_dof (const index_t aIndex)
 expose a specific dof
uint number_of_local_dofs () const
 expose the number of dofs
void flag_dofs ()
 flag all dofs that are connected to this element
void unflag_dofs ()
 unflag all dofs that are connected to this element
bool has_rotation () const
 tell if this element has rotation properties
void get_node_coors (Matrix< real > &aNodeCoords)
void set_rotation_data (const Matrix< real > &aRotationAxes, const Vector< real > &aRotationAngles)
 set the rotation axes
void get_rotation_data (Matrix< real > &aRotationAxes, Vector< real > &aRotationAngles)
void edge_directions (real *aEdgeDirections) const
 expose container for edge directions (obsolete)
void edge_directions (Bitset< 12 > &aEdgeDirections) const
 expose container for edge directions
bool edge_direction (const index_t aIndex) const
 expose container for edge directions
id_t id () const
 return the id of the underlying mesh element
Element * master ()
 return the master element, only for sidesets
Element * slave ()
 return the slave element, only for sidesets, returns null if there is none
mesh::Facet * facet ()
const mesh::Facet * facet () const
Element * reference ()
const Element * reference () const
void set_facet (mesh::Facet *aFacet)
void set_reference (Element *aElement)
const Material * material () const
 return the material of this element
void add_t_matrix (const Matrix< real > &aT)
bool has_t_matrix () const
const Tmatrix * t_matrix () const
void relink_dofs (Cell< Dof * > &aGlobalDofs, Cell< Dof * > &aLocalDofs, const Matrix< real > &aTmatrix)
bool has_hanging_dofs () const
Group * parent ()

Constructor & Destructor Documentation

◆ Element() [1/5]

belfem::fem::Element::Element ( Block * aParent,
DofManager * aDofManager,
mesh::Element * aElement )

◆ Element() [2/5]

belfem::fem::Element::Element ( Block * aParent,
mesh::Element * aElement )

◆ Element() [3/5]

belfem::fem::Element::Element ( mesh::Element * aElement)

◆ Element() [4/5]

belfem::fem::Element::Element ( SideSet * aParent,
DofManager * aDofManager,
mesh::Facet * aFacet,
const SideSetDofLinkMode aSideSetDofLinkMode,
Element * aMaster,
Element * aSlave )

constructor for facet

◆ Element() [5/5]

belfem::fem::Element::Element ( SideSet * aParent,
DofManager * aDofManager,
mesh::Facet * aFacet,
Cell< mesh::Facet * > & aLayers,
const id_t aMasterBlockID,
const id_t aSlaveBlockID )

constructor for thin shells

◆ ~Element()

belfem::fem::Element::~Element ( )
virtual

Member Function Documentation

◆ add_t_matrix()

void belfem::fem::Element::add_t_matrix ( const Matrix< real > & aT)

◆ dof()

Dof * belfem::fem::Element::dof ( const index_t aIndex)
inline

expose a specific dof

◆ edge_direction()

bool belfem::fem::Element::edge_direction ( const index_t aIndex) const
inline

expose container for edge directions

◆ edge_directions() [1/2]

void belfem::fem::Element::edge_directions ( Bitset< 12 > & aEdgeDirections) const
inline

expose container for edge directions

◆ edge_directions() [2/2]

void belfem::fem::Element::edge_directions ( real * aEdgeDirections) const
inline

expose container for edge directions (obsolete)

expose container for edge directions (obsolete)

◆ element()

mesh::Element * belfem::fem::Element::element ( )
inline

expose the underlying element on the mesh

◆ facet() [1/2]

mesh::Facet * belfem::fem::Element::facet ( )
inline

◆ facet() [2/2]

const mesh::Facet * belfem::fem::Element::facet ( ) const
inline

◆ flag_dofs()

void belfem::fem::Element::flag_dofs ( )

flag all dofs that are connected to this element

◆ get_node_coors()

void belfem::fem::Element::get_node_coors ( Matrix< real > & aNodeCoords)
inline

◆ get_rotation_data()

void belfem::fem::Element::get_rotation_data ( Matrix< real > & aRotationAxes,
Vector< real > & aRotationAngles )

◆ has_hanging_dofs()

bool belfem::fem::Element::has_hanging_dofs ( ) const

◆ has_rotation()

bool belfem::fem::Element::has_rotation ( ) const
inline

tell if this element has rotation properties

◆ has_t_matrix()

bool belfem::fem::Element::has_t_matrix ( ) const
inline

◆ id()

id_t belfem::fem::Element::id ( ) const
inline

return the id of the underlying mesh element

◆ local_dof()

Dof * belfem::fem::Element::local_dof ( const index_t aIndex)
inline

expose a specific dof

◆ master()

Element * belfem::fem::Element::master ( )
inline

return the master element, only for sidesets

◆ material()

const Material * belfem::fem::Element::material ( ) const
inline

return the material of this element

◆ number_of_dofs()

uint belfem::fem::Element::number_of_dofs ( ) const
inline

expose the number of dofs

◆ number_of_local_dofs()

uint belfem::fem::Element::number_of_local_dofs ( ) const
inline

expose the number of dofs

◆ parent()

Group * belfem::fem::Element::parent ( )
inline

◆ reference() [1/2]

Element * belfem::fem::Element::reference ( )
inline

◆ reference() [2/2]

const Element * belfem::fem::Element::reference ( ) const
inline

◆ relink_dofs()

void belfem::fem::Element::relink_dofs ( Cell< Dof * > & aGlobalDofs,
Cell< Dof * > & aLocalDofs,
const Matrix< real > & aTmatrix )

◆ set_facet()

void belfem::fem::Element::set_facet ( mesh::Facet * aFacet)
inline

◆ set_reference()

void belfem::fem::Element::set_reference ( Element * aElement)
inline

◆ set_rotation_data()

void belfem::fem::Element::set_rotation_data ( const Matrix< real > & aRotationAxes,
const Vector< real > & aRotationAngles )

set the rotation axes

◆ slave()

Element * belfem::fem::Element::slave ( )
inline

return the slave element, only for sidesets, returns null if there is none

◆ t_matrix()

const Tmatrix * belfem::fem::Element::t_matrix ( ) const
inline

◆ unflag_dofs()

void belfem::fem::Element::unflag_dofs ( )

unflag all dofs that are connected to this element


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