On Wed, Dec 3, 2008 at 7:49 AM, Petry Stefan <[EMAIL PROTECTED]> wrote:
> Hello,
> my problem is I don“t know how to use class Side!
>
> What are the template arguments, e.g. for a call like:
>
> Side *s(elem, side);
> s = elem->side(side);

Typically, you would use the build side function, like so:

AutoPtr<Elem> side = elem->build_side(s);

By default, this returns a lightweight proxy object of type
Side<SideType, ParentType>.  See, for example, src/geom/face_quad4.C,
line 133.  The object returned is of type Side<Edge2,Quad4>.

-- 
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to