tfel
Loading...
Searching...
No Matches
mtest::OxidationStatusEvolution Struct Reference

structure in charge of representing the evolution of the oxidation status. More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/OxidationStatusEvolution.hxx>

Inheritance diagram for mtest::OxidationStatusEvolution:
mtest::Evolution

Public Member Functions

 OxidationStatusEvolution (const PipeMesh &, const EvolutionManager &)
 constructor
real operator() (const real) const override
bool isConstant () const override
void setValue (const real) override
 set the evolution value
void setValue (const real, const real) override
 set the evolution value for a given date
virtual void setInnerBoundaryOxidationLengthEvolution (const real, const real)
 set the oxidation length at the inner boundary at the given time
virtual void setOuterBoundaryOxidationLengthEvolution (const real, const real)
 set the oxidation length at the outer boundary at the given time
 ~OxidationStatusEvolution () override
 destructor
Public Member Functions inherited from mtest::Evolution
virtual ~Evolution ()
 destructor

Detailed Description

structure in charge of representing the evolution of the oxidation status.

Constructor & Destructor Documentation

◆ OxidationStatusEvolution()

mtest::OxidationStatusEvolution::OxidationStatusEvolution ( const PipeMesh & ,
const EvolutionManager &  )

constructor

Parameters
[in]meshmesh description
[in]mevolution manager

Member Function Documentation

◆ isConstant()

bool mtest::OxidationStatusEvolution::isConstant ( ) const
nodiscardoverridevirtual
Returns
true if the evolution is constant

Implements mtest::Evolution.

◆ operator()()

real mtest::OxidationStatusEvolution::operator() ( const real ) const
nodiscardoverridevirtual
Returns
the value of the evolution at the given time
Parameters
[in]ttime

Implements mtest::Evolution.

◆ setInnerBoundaryOxidationLengthEvolution()

virtual void mtest::OxidationStatusEvolution::setInnerBoundaryOxidationLengthEvolution ( const real ,
const real  )
virtual

set the oxidation length at the inner boundary at the given time

Parameters
[in]ttime
[in]loxidation length

◆ setOuterBoundaryOxidationLengthEvolution()

virtual void mtest::OxidationStatusEvolution::setOuterBoundaryOxidationLengthEvolution ( const real ,
const real  )
virtual

set the oxidation length at the outer boundary at the given time

Parameters
[in]ttime
[in]loxidation length

◆ setValue() [1/2]

void mtest::OxidationStatusEvolution::setValue ( const real )
overridevirtual

set the evolution value

Note
most evolution will throw an exception (this method only makes sense for constant evolutions)
Parameters
[in]v: value

Implements mtest::Evolution.

◆ setValue() [2/2]

void mtest::OxidationStatusEvolution::setValue ( const real ,
const real  )
overridevirtual

set the evolution value for a given date

Parameters
[in]ttime
[in]vvalue
Note
most evolution will throw an exception (for example, this method does not makes sense for constant evolutions)

Implements mtest::Evolution.


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