Dear Torquil,
There is an example in getfem_mesh_fem_global_function.cc which allows to define a mesh_fem with some arbitry global functions (i.e. a spectral method). Moreover, with getfem_mesh_fem_product.cc it is possible to obtain the mulitplication of standard polynomial shape functions with these global functions. It is in fact possible to define some elements with non-polynomial shape functions by derivating the class getfem::fem<FUNC> (see getfem_fem.h) where FUNC should be a class provinding a certain number of operations such as derivative and eval. Yves. ----- Original Message ----- From: "Torquil Macdonald Sørensen" <[email protected]> To: [email protected] Sent: Tuesday, April 22, 2014 9:03:59 PM Subject: [Getfem-users] Non-polynomial basis functions Hi! On the Getfem web page it says "Extensions are provided to describe Hermite elements, piecewise polynomial or non-polynomial elements, vector elements and XFEM.": http://download.gna.org/getfem/html/homepage/ How would I go about constructing a mesh_fem that uses e.g. the exponential function in the definition of a basis function? After reading mesh_fem.cc, I know how to specify polynomial basis functions. But I have not found any examples of non-polynomial mesh_fem's other than piecewise polynomial composite mesh_fem's. Best regards Torquil Sørensen _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
