1.3.2
CCC
 
DriftM Class Reference

#include <DriftM.hpp>

Inheritance diagram for DriftM:
ADrift AStringable ICloneable

Detailed Description

Monomial drift term. Examples:

  • driftM() is the Universality condition
  • driftM([2]) (where [] stands for a vector of integers) stands for x_1^2
  • driftM([2,3]) stands for x_1^2 * x_2^3 Note: the size of the vector (when defined) must be smaller or equal to the space dimension

Public Member Functions

 DriftM (const VectorInt &powers=VectorInt())
 
 DriftM (const DriftM &r)
 
DriftMoperator= (const DriftM &r)
 
virtual ~DriftM ()
 
String getDriftName () const override
 ICloneable interface. More...
 
int getOrderIRF () const override
 
int getOrderIRFIdim (int idim) const override
 
int getDriftNDimMax () const override
 
double eval (const Db *db, int iech) const override
 
VectorInt getPowers () const override
 Interface for daughter classes. More...
 
- Public Member Functions inherited from ADrift
 ADrift ()
 
 ADrift (const ADrift &r)
 
ADriftoperator= (const ADrift &r)
 
virtual ~ADrift ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
virtual int getRankFex () const
 
virtual bool isDriftExternal () const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Static Public Member Functions

static DriftMcreateByIdentifier (const String &driftname)
 

Constructor & Destructor Documentation

◆ DriftM() [1/2]

DriftM::DriftM ( const VectorInt powers = VectorInt())

◆ DriftM() [2/2]

DriftM::DriftM ( const DriftM r)

◆ ~DriftM()

DriftM::~DriftM ( )
virtual

Member Function Documentation

◆ createByIdentifier()

DriftM * DriftM::createByIdentifier ( const String driftname)
static

◆ eval()

double DriftM::eval ( const Db db,
int  iech 
) const
overridevirtual

Implements ADrift.

◆ getDriftName()

String DriftM::getDriftName ( ) const
overridevirtual

ICloneable interface.

Implements ADrift.

◆ getDriftNDimMax()

int DriftM::getDriftNDimMax ( ) const
overridevirtual

Reimplemented from ADrift.

◆ getOrderIRF()

int DriftM::getOrderIRF ( ) const
overridevirtual

Implements ADrift.

◆ getOrderIRFIdim()

int DriftM::getOrderIRFIdim ( int  idim) const
overridevirtual

Implements ADrift.

◆ getPowers()

VectorInt DriftM::getPowers ( ) const
inlineoverridevirtual

Interface for daughter classes.

Reimplemented from ADrift.

◆ operator=()

DriftM & DriftM::operator= ( const DriftM r)

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