1 #ifndef _PFASST_ENCAP_IMPLICIT_SWEEPER_HPP_
2 #define _PFASST_ENCAP_IMPLICIT_SWEEPER_HPP_
23 template<
typename time = time_precision>
38 vector<shared_ptr<Encapsulation<time>>>
fs_impl;
55 virtual void setup(
bool coarse)
override;
65 virtual void predict(
bool initial)
override;
73 virtual void sweep()
override;
78 virtual void advance()
override;
83 virtual void reevaluate(
bool initial_only)
override;
Host based encapsulated base sweeper.
void setup(shared_ptr< WrapperInterface< scalar, time >> wrapper)
Not implemented yet exception.
virtual void impl_solve(shared_ptr< Encapsulation< time >> f_encap, shared_ptr< Encapsulation< time >> u_encap, time t, time dt, shared_ptr< Encapsulation< time >> rhs_encap)
Solve \( U - \Delta t F_{\rm impl}(U) = RHS \) for \( U \).
vector< shared_ptr< Encapsulation< time > > > fs_impl
Values of the implicit part of the right hand side \( F_{impl}(t,u) \) at all time nodes of the curre...
virtual void f_impl_eval(shared_ptr< Encapsulation< time >> f_impl_encap, shared_ptr< Encapsulation< time >> u_encap, time t)
Evaluate the implicit part of the ODE.
Data/solution encapsulation.
#define UNUSED(expr)
Denoting unused function parameters for omitting compiler warnings.
vector< shared_ptr< Encapsulation< time > > > s_integrals
Node-to-node integrals of \( F(t,u) \) at all time nodes of the current iteration.
Eigen::Matrix< scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix