Xfem
The Xfem Plugin
Public Member Functions | Protected Member Functions | List of all members
XfemPhysicsWrapper< T, F > Class Template Reference

Auxiliar class wrapping a plugin physics object. Its only purpose is to override the creation of Gauss acessors to use enriched accessors. More...

#include <xfemMechanic.h>

Inheritance diagram for XfemPhysicsWrapper< T, F >:
Inheritance graph
[legend]
Collaboration diagram for XfemPhysicsWrapper< T, F >:
Collaboration graph
[legend]

Public Member Functions

 XfemPhysicsWrapper (const char *physicsType, const char *objType, GmSimulationData *simulation, QString id, const GmLogCategory &logger)
 

Protected Member Functions

virtual GmGaussAccessorcreateGaussAttributeAccessor (GmElementMesh *mesh, QString id, int snum, bool locked, Unit desiredUnit, const GmLogCategory &logger) const
 Overrides the standard GmpFemPhysics::createGaussAttributeAccessor() implementation to create an enriched accessor.
 

Detailed Description

template<class T, class F>
class XfemPhysicsWrapper< T, F >

Auxiliar class wrapping a plugin physics object. Its only purpose is to override the creation of Gauss acessors to use enriched accessors.

Template parameters should be the type of the intended physics, from which XfemPhysicsWrapper will inherit, and the type of the physics plugin factory, used to retrieve the material factory passed to the physics constructor.


The documentation for this class was generated from the following file: