40 #ifndef GETFEM_TORUS_H__
41 #define GETFEM_TORUS_H__
56 void base_value(
const base_node &, base_tensor &)
const;
60 base_tensor &t,
bool =
true)
const;
62 base_tensor &t,
bool =
true)
const;
64 base_tensor &,
bool =
true)
const;
66 pfem get_original_pfem()
const;
72 void set_to_scalar(
bool is_scalar);
104 void adapt_to_torus_();
105 void del_torus_fem_();
structure passed as the argument of fem interpolation functions.
Describe a finite element method linked to a mesh.
Describe a mesh (collection of convexes (elements) and points).
Torus fem, the real grad base value is modified to compute radial grad of F/R.
void real_base_value(const fem_interpolation_context &c, base_tensor &t, bool=true) const
Give the value of all components of the base functions at the current point of the fem_interpolation_...
void hess_base_value(const base_node &, base_tensor &) const
Give the value of all hessians (on ref.
void real_grad_base_value(const fem_interpolation_context &c, base_tensor &t, bool=true) const
Give the gradient of all components of the base functions at the current point of the fem_interpolati...
void base_value(const base_node &, base_tensor &) const
Give the value of all components of the base functions at the point x of the reference element.
void real_hess_base_value(const fem_interpolation_context &, base_tensor &, bool=true) const
Give the hessian of all components of the base functions at the current point of the fem_interpolatio...
void grad_base_value(const base_node &, base_tensor &) const
Give the value of all gradients (on ref.
Mesh fem object that adapts.
void enumerate_dof(void) const
Renumber the degrees of freedom.
Copy an original 2D mesh to become a torus mesh with radial dimension.
virtual scalar_type convex_radius_estimate(size_type ic) const
Return an estimate of the convex largest dimension.
Base class for finite element description.
Define the getfem::mesh_fem class.
std::shared_ptr< const getfem::virtual_fem > pfem
type of pointer on a fem description
size_t size_type
used as the common size type in the library
GEneric Tool for Finite Element Methods.