Skip to content
Snippets Groups Projects
Forked from agnumpde / dune-tectonic
28 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
fixedpointiterator_tmpl.cc 976 B
#ifndef MY_DIM
#error MY_DIM unset
#endif

#include "../explicitgrid.hh"
#include "../explicitvectors.hh"

#include <dune/solvers/norms/energynorm.hh>

#include "../spatial-solving/solverfactory_tmpl.cc"
#include "../data-structures/levelcontactnetwork_tmpl.cc"

#include "../time-stepping/rate/rateupdater.hh"
#include "../time-stepping/state/stateupdater.hh"
#include "../time-stepping/updaters.hh"

using NBodyAssembler = typename MyLevelContactNetwork::NBodyAssembler;
using BoundaryNodes = typename MyLevelContactNetwork::BoundaryNodes;
using BoundaryFunctions = typename MyLevelContactNetwork::BoundaryFunctions;

using MyStateUpdater = StateUpdater<ScalarVector, Vector>;
using MyRateUpdater = RateUpdater<Vector, Matrix, BoundaryFunctions, BoundaryNodes>;
using MyUpdaters = Updaters<MyRateUpdater, MyStateUpdater>;

using ErrorNorm = EnergyNorm<ScalarMatrix, ScalarVector>;


template class FixedPointIterator<MySolverFactory, NBodyAssembler, MyUpdaters, ErrorNorm>;