28 void mesh_fem_global_function::set_functions
29 (
const std::vector<pglobal_function>& funcs,
const mesh_im &mim) {
30 GMM_ASSERT1(linked_mesh_ != 0,
"Mesh fem need to be initialized with"
36 GMM_ASSERT1(&(mim.linked_mesh()) == linked_mesh_,
37 "The provided mesh_im has to be linked to the same mesh"
38 " as this mesh_fem.");
46 void mesh_fem_global_function::clear() {
void set_finite_element(size_type cv, pfem pf)
Set the finite element method of a convex.
GEneric Tool for Finite Element Methods.
pfem new_fem_global_function(const std::vector< pglobal_function > &funcs, const mesh &m)
create a new global function FEM.
const mesh & linked_mesh() const
Return a reference to the underlying mesh.
const mesh_im & dummy_mesh_im()
Dummy mesh_im for default parameter of functions.
Define a mesh_fem with base functions which are global functions given by the user.
void del_fem_global_function(const pfem &pf)
release a global function FEM
- src
- getfem_mesh_fem_global_function.cc