Dear Tore G. Halvorsen, May be you could use the reduction mecanism of the mesh-fem object. The mesh_fem object define a finite element method. There is a mecanism which allows to add a linear tranformation on a basic method, for instance to define no basis function as linear conbination of the ones of the basic method. Of course, it is up to you to define the corresponding reduction matrix.
Yves. Le 19/06/2012 19:11, Tore G. Halvorsen a écrit : > Hello! > > I am going to implement a convection-diffusion equation, and I am > considering using getfem++ with a python interface. The catch is that > we are going to upwind the test-space, hence we need to be able to > define the basis functions in the test space according to the > upwinding. These are not standard basis functions, but rather linear > combinations of basis functions on a finer mesh. > > So, is it possible to user define the basis functions given a mesh and > degrees-of-freedom? > > Best regards > Tore G. Halvorsen > > > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard ---------
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
