LIMEX plugin
Loading...
Searching...
No Matches
ug::ILimexCostStrategy Class Referenceabstract

Abstract class for the cost of a limex stage. More...

#include <limex_integrator.hpp>

Inheritance diagram for ug::ILimexCostStrategy:
ug::LimexDefaultCost ug::LimexNonlinearCost

Public Member Functions

virtual ~ILimexCostStrategy ()
 destructor
 
virtual void update_cost (std::vector< number > &costA, const std::vector< size_t > &vSteps, const size_t nstages)=0
 provides the cost for all 0...nstages stages.
 

Detailed Description

Abstract class for the cost of a limex stage.

The LimexTimeIntegrator requires a model for computing the cost per stage.

Member Function Documentation

◆ update_cost()

virtual void ug::ILimexCostStrategy::update_cost ( std::vector< number > & costA,
const std::vector< size_t > & vSteps,
const size_t nstages )
pure virtual

provides the cost for all 0...nstages stages.

Implemented in ug::LimexDefaultCost, and ug::LimexNonlinearCost.


The documentation for this class was generated from the following file: