LORENE
Lorene::Diff_id Class Reference

Class for the elementary differential operator Identity (see the base class Diff ). More...

#include <diff.h>

Inheritance diagram for Lorene::Diff_id:
Lorene::Diff

Public Member Functions

 Diff_id (int base_r, int nr)
 Standard constructor. More...
 
 Diff_id (const Diff_id &)
 Copy constructor. More...
 
virtual ~Diff_id ()
 Destructor. More...
 
void operator= (const Diff_id &)
 Assignment to another Diff_id. More...
 
virtual const Matriceget_matrice () const
 Returns the matrix associated with the operator. More...
 
int get_base () const
 Returns the base on which the operator is defined. More...
 
int get_npoints () const
 Returns the number of coefficients (size of the matrix) More...
 
 operator Matrice () const
 Conversion to a matrix. More...
 

Static Public Attributes

static const int max_points = 50
 Maximal number of matrices stored per base. More...
 

Protected Member Functions

virtual ostream & operator>> (ostream &) const
 Operator >> (virtual function called by the operator <<). More...
 

Protected Attributes

int base
 Base in radial direction. More...
 
int npoints
 Number of coefficients. More...
 

Private Member Functions

void initialize ()
 Initializes arrays. More...
 

Detailed Description

Class for the elementary differential operator Identity (see the base class Diff ).

()

Definition at line 210 of file diff.h.

Constructor & Destructor Documentation

◆ Diff_id() [1/2]

Lorene::Diff_id::Diff_id ( int  base_r,
int  nr 
)

Standard constructor.

Definition at line 66 of file diff_id.C.

References initialize().

◆ Diff_id() [2/2]

Lorene::Diff_id::Diff_id ( const Diff_id diff_in)

Copy constructor.

Definition at line 70 of file diff_id.C.

◆ ~Diff_id()

Lorene::Diff_id::~Diff_id ( )
virtual

Destructor.

Definition at line 74 of file diff_id.C.

Member Function Documentation

◆ get_base()

int Lorene::Diff::get_base ( ) const
inlineinherited

Returns the base on which the operator is defined.

Definition at line 96 of file diff.h.

References Lorene::Diff::base.

◆ get_matrice()

const Matrice & Lorene::Diff_id::get_matrice ( ) const
virtual

Returns the matrix associated with the operator.

Implements Lorene::Diff.

Definition at line 94 of file diff_id.C.

References Lorene::Diff::base, Lorene::Diff::max_points, Lorene::Diff::npoints, Lorene::Matrice::set(), and Lorene::Matrice::set_etat_qcq().

◆ get_npoints()

int Lorene::Diff::get_npoints ( ) const
inlineinherited

Returns the number of coefficients (size of the matrix)

Definition at line 99 of file diff.h.

References Lorene::Diff::npoints.

◆ initialize()

void Lorene::Diff_id::initialize ( )
private

Initializes arrays.

Definition at line 76 of file diff_id.C.

References MAX_BASE, and Lorene::Diff::max_points.

◆ operator Matrice()

Lorene::Diff::operator Matrice ( ) const
inlineinherited

Conversion to a matrix.

Definition at line 102 of file diff.h.

References Lorene::Diff::get_matrice().

◆ operator=()

void Lorene::Diff_id::operator= ( const Diff_id diff_in)

Assignment to another Diff_id.

Definition at line 88 of file diff_id.C.

References Lorene::Diff::operator=().

◆ operator>>()

ostream & Lorene::Diff_id::operator>> ( ostream &  ost) const
protectedvirtual

Operator >> (virtual function called by the operator <<).

Implements Lorene::Diff.

Definition at line 126 of file diff_id.C.

Member Data Documentation

◆ base

int Lorene::Diff::base
protectedinherited

Base in radial direction.

Definition at line 74 of file diff.h.

◆ max_points

const int Lorene::Diff::max_points = 50
staticinherited

Maximal number of matrices stored per base.

Definition at line 71 of file diff.h.

◆ npoints

int Lorene::Diff::npoints
protectedinherited

Number of coefficients.

Definition at line 75 of file diff.h.


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