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

inherit from base class 'Solver'

[[Imported from SVN: r1611]]
parent 256e4ce6
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
/** \brief Riemannian trust-region solver for 3d Cosserat rod problems */ /** \brief Riemannian trust-region solver for 3d Cosserat rod problems */
template <class GridType> template <class GridType>
class RodSolver class RodSolver : public Solver
{ {
const static int blocksize = 6; const static int blocksize = 6;
...@@ -30,7 +30,8 @@ class RodSolver ...@@ -30,7 +30,8 @@ class RodSolver
public: public:
RodSolver() RodSolver()
: hessianMatrix_(NULL), h1SemiNorm_(NULL) : Solver(0,NumProc::FULL),
hessianMatrix_(NULL), h1SemiNorm_(NULL)
{} {}
void setup(const GridType& grid, void setup(const GridType& grid,
...@@ -67,9 +68,6 @@ protected: ...@@ -67,9 +68,6 @@ protected:
/** \brief The initial trust-region radius in the maximum-norm */ /** \brief The initial trust-region radius in the maximum-norm */
double initialTrustRegionRadius_; double initialTrustRegionRadius_;
/** \brief Tolerance of the trust-region solver */
double tolerance_;
/** \brief Maximum number of trust-region steps */ /** \brief Maximum number of trust-region steps */
int maxTrustRegionSteps_; int maxTrustRegionSteps_;
......
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