$extrastylesheet
#include <inf_fe.h>
Static Public Member Functions | |
| static Real | decay (const Real v) |
| static Real | decay_deriv (const Real) |
| static Real | D (const Real v) |
| static Real | D_deriv (const Real v) |
| static Order | mapping_order () |
| static unsigned int | n_dofs (const Order o_radial) |
| static unsigned int | n_dofs_at_node (const Order o_radial, const unsigned int n_onion) |
| static unsigned int | n_dofs_per_elem (const Order o_radial) |
Private Member Functions | |
| Radial () | |
Infinite elements are in some sense directional, compared to conventional finite elements. All methods related to the radial part, which extends perpendicular from the base, are collected in this nested class. This class offers static methods, which are only available to InfFE members.
| libMesh::InfFE< Dim, T_radial, T_map >::Radial::Radial | ( | ) | [inline, private] |
| static Real libMesh::InfFE< Dim, T_radial, T_map >::Radial::D | ( | const Real | v | ) | [inline, static] |
| static Real libMesh::InfFE< Dim, T_radial, T_map >::Radial::D_deriv | ( | const Real | v | ) | [inline, static] |
| Real libMesh::InfFE< Dim, T_radial, T_map >::Radial::decay | ( | const Real | v | ) | [inline, static] |
Dim dimensional infinite element. Definition at line 846 of file inf_fe.h.
Referenced by libMesh::InfFE< Dim, T_radial, T_map >::compute_data(), and libMesh::InfFE< Dim, T_radial, T_map >::shape().
{
switch (Dim)
//TODO:[DD] What decay do i have in 2D and 1D?
{
case 3:
return (1.-v)/2.;
case 2:
return 0.;
case 1:
return 0.;
default:
libmesh_error_msg("Invalid Dim = " << Dim);
}
}
| static Real libMesh::InfFE< Dim, T_radial, T_map >::Radial::decay_deriv | ( | const Real | ) | [inline, static] |
| static Order libMesh::InfFE< Dim, T_radial, T_map >::Radial::mapping_order | ( | ) | [inline, static] |
FIRST. Definition at line 135 of file inf_fe.h.
References libMesh::FIRST.
{ return FIRST; }
| static unsigned int libMesh::InfFE< Dim, T_radial, T_map >::Radial::n_dofs | ( | const Order | o_radial | ) | [inline, static] |
n_dofs_at_node) or as element dofs (n_dofs_per_elem), in each case we have the same number of modes in radial direction. Note that for the case of 1D infinite elements, in the base the dof-per-node scheme is used.From the formulation of the infinite elements, we have 1 mode, when o_radial=CONST. Therefore, we have a total of o_radial+1 modes in radial direction.
Definition at line 149 of file inf_fe.h.
{ return static_cast<unsigned int>(o_radial)+1; }
| unsigned int libMesh::InfFE< Dim, T_radial, T_map >::Radial::n_dofs_at_node | ( | const Order | o_radial, |
| const unsigned int | n_onion | ||
| ) | [static] |
n (either 0 or 1) for an infinite element of type inf_elem_type and radial order o_radial.Currently, the first radial mode is associated with the nodes in the base. All higher radial modes are associated with the physically existing nodes further out.
Definition at line 122 of file inf_fe_base_radial.C.
{
libmesh_assert_less (n_onion, 2);
if (n_onion == 0)
/*
* in the base, no matter what, we have 1 node associated
* with radial direction
*/
return 1;
else
/*
* this works, since for Order o_radial=CONST=0, we still
* have the (1-v)/2 mode, associated to the base
*/
return static_cast<unsigned int>(o_radial);
}
| static unsigned int libMesh::InfFE< Dim, T_radial, T_map >::Radial::n_dofs_per_elem | ( | const Order | o_radial | ) | [inline, static] |
Definition at line 171 of file inf_fe.h.
{ return static_cast<unsigned int>(o_radial)+1; }