Plugins
ug::LimexNonlinearCost Class Reference

For. More...

#include <limex_integrator.hpp>

+ Inheritance diagram for ug::LimexNonlinearCost:

Public Member Functions

 LimexNonlinearCost ()
 
void update_cost (std::vector< number > &m_costA, const std::vector< size_t > &nSteps, const size_t nstages)
 provides the cost for all 0...nstages stages. More...
 
- Public Member Functions inherited from ug::ILimexCostStrategy
virtual ~ILimexCostStrategy ()
 destructor More...
 

Protected Attributes

double m_cAssemble
 
double m_cMatAdd
 ! Cost for matrix assembly More...
 
double m_cSolution
 ! Cost for J=A+B More...
 
int m_useGamma
 ! Cost for solving Jx=b More...
 

Detailed Description

For.

Constructor & Destructor Documentation

◆ LimexNonlinearCost()

ug::LimexNonlinearCost::LimexNonlinearCost ( )
inline

Member Function Documentation

◆ update_cost()

void ug::LimexNonlinearCost::update_cost ( std::vector< number > &  costA,
const std::vector< size_t > &  vSteps,
const size_t  nstages 
)
inlinevirtual

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

Implements ug::ILimexCostStrategy.

References m_cAssemble, m_cMatAdd, m_cSolution, m_useGamma, and UG_ASSERT.

Member Data Documentation

◆ m_cAssemble

double ug::LimexNonlinearCost::m_cAssemble
protected

Referenced by update_cost().

◆ m_cMatAdd

double ug::LimexNonlinearCost::m_cMatAdd
protected

! Cost for matrix assembly

Referenced by update_cost().

◆ m_cSolution

double ug::LimexNonlinearCost::m_cSolution
protected

! Cost for J=A+B

Referenced by update_cost().

◆ m_useGamma

int ug::LimexNonlinearCost::m_useGamma
protected

! Cost for solving Jx=b

Referenced by update_cost().


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