Skip to content
Snippets Groups Projects
Commit a6b05c2c authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Merge branch 'fix/minorMixedRiemannianTRchanges' into 'master'

fixed mixed riemanniansolver issues

See merge request !68
parents 44558868 b8c3fd03
No related branches found
No related tags found
1 merge request!68fixed mixed riemanniansolver issues
Pipeline #5423 passed
......@@ -100,7 +100,7 @@ setup(const GridType& grid,
baseNorm0,
Solver::QUIET);
::LoopSolver<CorrectionType0>* baseSolver1 = new ::LoopSolver<CorrectionType1>(baseSolverStep1,
::LoopSolver<CorrectionType1>* baseSolver1 = new ::LoopSolver<CorrectionType1>(baseSolverStep1,
baseIterations,
baseTolerance,
baseNorm1,
......
......@@ -82,11 +82,11 @@ public:
void setScaling(const Dune::FieldVector<double,blocksize0+blocksize1>& scaling)
{
for (int i=0; i<3; i++)
{
for (int i=0; i<blocksize0; i++)
std::get<0>(scaling_)[i] = scaling[i];
std::get<1>(scaling_)[i] = scaling[i+3];
}
for (int i=0; i<blocksize1; i++)
std::get<1>(scaling_)[i] = scaling[i+blocksize0];
}
#if 0
......@@ -124,7 +124,7 @@ protected:
double initialTrustRegionRadius_;
/** \brief Trust-region norm scaling */
std::tuple<Dune::FieldVector<double,3>, Dune::FieldVector<double,3> > scaling_;
std::tuple<Dune::FieldVector<double,blocksize0>, Dune::FieldVector<double,blocksize1> > scaling_;
/** \brief Maximum number of trust-region steps */
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