Skip to content
Snippets Groups Projects
state.hh 498 B
Newer Older
#ifndef SRC_STATE_HH
#define SRC_STATE_HH
Elias Pipping's avatar
Elias Pipping committed
#include <memory>

#include <dune/common/bitsetvector.hh>

#include "enums.hh"
#include "state/stateupdater.hh"
#include "state/ageinglawstateupdater.hh"
#include "state/sliplawstateupdater.hh"

template <class ScalarVector, class Vector>
std::shared_ptr<StateUpdater<ScalarVector, Vector>> initStateUpdater(
    Config::stateModel model, ScalarVector const &alpha_initial,
    Dune::BitSetVector<1> const &frictionalNodes, double L, double V0);