GetFEM  5.4.2
getfem::fem_interpolation_context Class Reference

structure passed as the argument of fem interpolation functions. More...

#include <getfem_fem.h>

Inherits bgeot::geotrans_interpolation_context.

Public Member Functions

bool have_pfp () const
 true if a fem_precomp_ has been supplied.
 
bool have_pf () const
 true if the pfem is available.
 
const base_matrix & M () const
 non tau-equivalent transformation matrix.
 
void base_value (base_tensor &t, bool withM=true) const
 fill the tensor with the values of the base functions (taken at point this->xref())
 
void grad_base_value (base_tensor &t, bool withM=true) const
 fill the tensor with the gradient of the base functions (taken at point this->xref())
 
void hess_base_value (base_tensor &t, bool withM=true) const
 fill the tensor with the hessian of the base functions (taken at point this->xref())
 
const pfem pf () const
 get the current FEM descriptor
 
size_type convex_num () const
 get the current convex number
 
void set_face_num (short_type f)
 set the current face number
 
short_type face_num () const
 get the current face number
 
bool is_on_face () const
 On a face ?
 
pfem_precomp pfp () const
 get the current fem_precomp_
 
- Public Member Functions inherited from bgeot::geotrans_interpolation_context
const base_nodexref () const
 coordinates of the current point, in the reference convex.
 
const base_nodexreal () const
 coordinates of the current point, in the real convex.
 
const base_nodecv_center () const
 coordinates of the center of the real convex.
 
const base_matrix & K () const
 See getfem kernel doc for these matrices.
 
const base_matrix & G () const
 matrix whose columns are the vertices of the convex
 
scalar_type J () const
 get the Jacobian of the geometric trans (taken at point xref() )
 
void set_ii (size_type ii__)
 change the current point (assuming a geotrans_precomp_ is used)
 
void set_xref (const base_node &P)
 change the current point (coordinates given in the reference convex)
 

Additional Inherited Members

- Protected Attributes inherited from bgeot::geotrans_interpolation_context
base_node xreal_
 reference point
 
const base_matrix * G_
 transformed point
 
base_node cv_center_
 pointer to the matrix of real nodes of the convex
 
base_matrix K_
 real center of convex (average of columns of G)
 
pgeometric_trans pgt_
 see documentation (getfem kernel doc) for more details
 
size_type ii_
 if pgp != 0, it is the same as pgp's one
 
scalar_type J_
 index of current point in the pgp
 
base_matrix PC
 Jacobian.
 

Detailed Description

structure passed as the argument of fem interpolation functions.

This structure can be partially filled (for example the xreal will be computed if needed as long as pgp+ii is known).

Definition at line 749 of file getfem_fem.h.


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