[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] virtual_fem C++ question
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] virtual_fem C++ question |
Date: |
Fri, 28 May 2010 09:47:53 +0200 |
User-agent: |
KMail/1.9.9 |
On vendredi 28 mai 2010, Roman Putanowicz wrote:
> Dear All,
>
> In class virtual_fem I have found the following method:
>
> class virtual_fem : virtual public dal::static_stored_object {
> /* ... */
> public:
> virtual bgeot::pstored_point_tab node_tab(size_type) const;
> };
>
> Excuse my ignorance but what C++ mechanism does require this method
> to be declared this way?
> Is it just a programming convention to differentiate the call to this
> method from the call to the constructor of node_tab object ?
>
> Regards,
>
> Roman
Dear Roman,
I don't understand well your question. This method return the list of finite
element nodes on the reference element. The fact that it is virtual and the
that it takes a parameter which is the element number is because some finite
element methods (interpolation, Xfem) have different nodes on different
elements.
Regards,
Yves.
--
Yves Renard (address@hidden) 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
---------