Plugins
ug::ILimexCostStrategy Class Referenceabstract

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

#include <limex_integrator.hpp>

+ Inheritance diagram for ug::ILimexCostStrategy:

Public Member Functions

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. More...
 
virtual ~ILimexCostStrategy ()
 destructor More...
 

Detailed Description

Abstract class for the cost of a limex stage.

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

Constructor & Destructor Documentation

◆ ~ILimexCostStrategy()

virtual ug::ILimexCostStrategy::~ILimexCostStrategy ( )
inlinevirtual

destructor

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::LimexNonlinearCost, and ug::LimexDefaultCost.


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