1.1.0
CCC
 
DriftM Class Reference

#include <DriftM.hpp>

Inheritance diagram for DriftM:
ADrift AStringable ICloneable

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)
 

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

Constructor & Destructor Documentation

DriftM::DriftM ( const VectorInt powers = VectorInt())
DriftM::DriftM ( const DriftM r)
DriftM::~DriftM ( )
virtual

Member Function Documentation

DriftM * DriftM::createByIdentifier ( const String driftname)
static
double DriftM::eval ( const Db db,
int  iech 
) const
overridevirtual

Implements ADrift.

String DriftM::getDriftName ( ) const
overridevirtual

ICloneable interface.

Implements ADrift.

int DriftM::getDriftNDimMax ( ) const
overridevirtual

Reimplemented from ADrift.

int DriftM::getOrderIRF ( ) const
overridevirtual

Implements ADrift.

int DriftM::getOrderIRFIdim ( int  idim) const
overridevirtual

Implements ADrift.

VectorInt DriftM::getPowers ( ) const
inlineoverridevirtual

Interface for daughter classes.

Reimplemented from ADrift.

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

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