39 #ifndef GETFEM_MESH_FEM_GLOBAL_FUNCTION_H__ 
   40 #define GETFEM_MESH_FEM_GLOBAL_FUNCTION_H__ 
   55     void set_functions(
const std::vector<pglobal_function>& f,
 
   65   enum class bspline_boundary { FREE=0, PERIODIC=1, SYMMETRY=2};
 
   76    bspline_boundary bcX_low=bspline_boundary::FREE,
 
   77    bspline_boundary bcX_high=bspline_boundary::FREE,
 
   82    bspline_boundary bcX_low, 
const mesh_im &mim=
dummy_mesh_im()) {
 
   84     (mf, NX, order, bcX_low, bcX_low, mim);
 
   96   (mesh_fem_global_function &mf,
 
   98    bspline_boundary bcX_low=bspline_boundary::FREE,
 
   99    bspline_boundary bcY_low=bspline_boundary::FREE,
 
  100    bspline_boundary bcX_high=bspline_boundary::FREE,
 
  101    bspline_boundary bcY_high=bspline_boundary::FREE,
 
  105   (mesh_fem_global_function &mf,
 
  107    bspline_boundary bcX_low, bspline_boundary bcY_low,
 
  110     (mf, NX, NY, order, bcX_low, bcY_low, bcX_low, bcY_low, mim);
 
  122   (mesh_fem_global_function &mf,
 
  124    bspline_boundary bcX_low=bspline_boundary::FREE,
 
  125    bspline_boundary bcY_low=bspline_boundary::FREE,
 
  126    bspline_boundary bcZ_low=bspline_boundary::FREE,
 
  127    bspline_boundary bcX_high=bspline_boundary::FREE,
 
  128    bspline_boundary bcY_high=bspline_boundary::FREE,
 
  129    bspline_boundary bcZ_high=bspline_boundary::FREE,
 
  133   (mesh_fem_global_function &mf,
 
  135    bspline_boundary bcX_low, bspline_boundary bcY_low,
 
  136    bspline_boundary bcZ_low, 
const mesh_im &mim=
dummy_mesh_im()) {
 
  138     (mf, NX, NY, NZ, order, bcX_low, bcY_low, bcZ_low,
 
  139                             bcX_low, bcY_low, bcZ_low, mim);
 
this is a convenience class for defining a mesh_fem with base functions which are global functions (f...
Describe a finite element method linked to a mesh.
Describe an integration method linked to a mesh.
Describe a mesh (collection of convexes (elements) and points).
Define mesh_fem whose base functions are global function given by the user.
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.
void define_uniform_bspline_basis_functions_for_mesh_fem(mesh_fem_global_function &mf, size_type NX, size_type order, bspline_boundary bcX_low=bspline_boundary::FREE, bspline_boundary bcX_high=bspline_boundary::FREE, const mesh_im &mim=dummy_mesh_im())
This function will generate bspline basis functions on NX uniform elements along a line.
const mesh_im & dummy_mesh_im()
Dummy mesh_im for default parameter of functions.