This directory contains an implementations of solver for the Van-der-Pol oscillator using the PFASST framework. More...
Modules | |
Files | |
Classes | |
class | pfasst::examples::vdp::VdpSweeper< time > |
Sweeper for the van der Pol oscillator. More... | |
Functions | |
double | pfasst::examples::vdp::run_vdp_sdc (const size_t nsteps, const double dt, const size_t nnodes, const size_t niters, const double nu, const double x0, const double y0, const quadrature::QuadratureType nodetype) |
This directory contains an implementations of solver for the Van-der-Pol oscillator using the PFASST framework.
The SDC sweeper is defined in vdp_sweeper.hpp. As this simple equation does not require any special handling, all the SDC magic is derived and taken from pfasst::encap::IMEXSweeper::sweep().
double pfasst::examples::vdp::run_vdp_sdc | ( | const size_t | nsteps, |
const double | dt, | ||
const size_t | nnodes, | ||
const size_t | niters, | ||
const double | nu, | ||
const double | x0, | ||
const double | y0, | ||
const quadrature::QuadratureType | nodetype | ||
) |
Definition at line 23 of file vdp_sdc.cpp.
References pfasst::Controller< time >::add_level(), pfasst::quadrature::quadrature_factory(), pfasst::SDC< time >::run(), pfasst::Controller< time >::set_duration(), and pfasst::Controller< time >::setup().
Referenced by main(), and VdPConvergenceTest::SetUp().