23 template<
class T,
class solution_t>
29 virtual ~gsAPALMBase() { }
36 gsAPALMBase( gsALMBase<T> * ALM,
37 const gsAPALMData<T,solution_t> & Data);
43 virtual void _defaultOptions();
45 virtual void _getOptions();
48 virtual void initialize();
50 virtual void serialSolve(
index_t Nsteps = 10);
51 virtual void parallelSolve();
53 virtual void serialStepOutput(
const gsVector<T> & U,
const T & L) {};
54 virtual void parallelStepOutput(
const gsVector<T> & U,
const T & L) {};
56 gsOptionList & options() {
return m_options; }
58 std::vector<solution_t> getSolutions() {
return m_solutions; }
59 std::vector<T> getTimes() {
return m_times; }
60 gsAPALMData<T,solution_t> getHierarchy() {
return m_data; }
64 std::vector<solution_t> m_solutions;
65 std::vector<T> m_times;
68 gsAPALMData<T,solution_t> m_data;
72 gsOptionList m_options;
77 #ifndef GISMO_BUILD_LIB
78 #include GISMO_HPP_HEADER(gsAPALMBase.hpp)
#define index_t
Definition: gsConfig.h:32
Provides a list of labeled parameters/options that can be set and accessed easily.
Base class to perform the arc length method to solve a nonlinear equation system. ...
This is the main header file that collects wrappers of Eigen for linear algebra.