Skip to content
Snippets Groups Projects
Commit f79bfa7f authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

Make the PlanarRodAssembler formally inherit from GeodesicFEAssembler

[[Imported from SVN: r5689]]
parent 0c04d3d7
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,8 @@ class RodAssembler : public GeodesicFEAssembler<GridView, RigidBodyMotion<3> >
/** \brief The FEM operator for a 2D extensible, shearable rod
*/
template <class GridType, int polOrd>
class PlanarRodAssembler {
class PlanarRodAssembler : public GeodesicFEAssembler<typename GridType::LeafGridView, RigidBodyMotion<2> >
{
typedef typename GridType::template Codim<0>::Entity EntityType;
typedef typename GridType::template Codim<0>::LevelIterator ElementIterator;
......@@ -110,7 +111,8 @@ class PlanarRodAssembler {
public:
//! ???
PlanarRodAssembler(const GridType &grid) :
PlanarRodAssembler(const GridType &grid)
: GeodesicFEAssembler<typename GridType::LeafGridView, RigidBodyMotion<2> >(grid.leafView(),NULL),
grid_(&grid)
{
B = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment