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

inherit from GeodesicFEAssembler

[[Imported from SVN: r4036]]
parent d56b455e
No related branches found
No related tags found
No related merge requests found
......@@ -5,16 +5,17 @@
#include <dune/common/fmatrix.hh>
#include <dune/istl/matrixindexset.hh>
#include <dune/istl/matrix.hh>
#include <dune/disc/operators/localstiffness.hh>
#include <dune/ag-common/boundarypatch.hh>
#include "rigidbodymotion.hh"
#include "rigidbodymotion.hh"
#include "geodesicfeassembler.hh"
/** \brief The FEM operator for an extensible, shearable rod
*/
template <class GridType>
class RodAssembler {
/** \brief The FEM operator for an extensible, shearable rod
*/
template <class GridType>
class RodAssembler : public GeodesicFEAssembler<typename GridType::LeafGridView, RigidBodyMotion<3> >
{
typedef typename GridType::template Codim<0>::Entity EntityType;
typedef typename GridType::template Codim<0>::EntityPointer EntityPointer;
......@@ -47,6 +48,7 @@
//! ???
RodAssembler(const GridType &grid) :
GeodesicFEAssembler<typename GridType::LeafGridView, RigidBodyMotion<3> >(grid.leafView()),
grid_(&grid)
{
// Set dummy material parameters
......@@ -70,8 +72,6 @@
}
~RodAssembler() {}
void setParameters(double k1, double k2, double k3,
double a1, double a2, double a3) {
K_[0] = k1;
......
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