Lorene::Diff_dsdx2 Class Reference
[General PDE solvers (under development)]

Class for the elementary differential operator $ \frac{\partial^2}{\partial \xi^2} $ (see the base class Diff ). More...

#include <diff.h>

Inheritance diagram for Lorene::Diff_dsdx2:
Lorene::Diff

List of all members.

Public Member Functions

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

Static Public Attributes

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

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

void initialize ()
 Initializes arrays.

Friends

ostream & operator<< (ostream &, const Diff &)
 Display.

Detailed Description

Class for the elementary differential operator $ \frac{\partial^2}{\partial \xi^2} $ (see the base class Diff ).

()

Definition at line 172 of file diff.h.


Constructor & Destructor Documentation

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

Standard constructor.

Definition at line 66 of file diff_dsdx2.C.

References initialize().

Lorene::Diff_dsdx2::Diff_dsdx2 ( const Diff_dsdx2 diff_in  ) 

Copy constructor.

Definition at line 70 of file diff_dsdx2.C.

Lorene::Diff_dsdx2::~Diff_dsdx2 (  )  [virtual]

Destructor.

Definition at line 74 of file diff_dsdx2.C.


Member Function Documentation

int Lorene::Diff::get_base (  )  const [inline, inherited]

Returns the base on which the operator is defined.

Definition at line 96 of file diff.h.

References Lorene::Diff::base.

const Matrice & Lorene::Diff_dsdx2::get_matrice (  )  const [virtual]

Returns the matrix associated with the operator.

Implements Lorene::Diff.

Definition at line 94 of file diff_dsdx2.C.

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

int Lorene::Diff::get_npoints (  )  const [inline, inherited]

Returns the number of coefficients (size of the matrix).

Definition at line 99 of file diff.h.

References Lorene::Diff::npoints.

void Lorene::Diff_dsdx2::initialize (  )  [private]

Initializes arrays.

Definition at line 76 of file diff_dsdx2.C.

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

Lorene::Diff::operator Matrice (  )  const [inline, inherited]

Conversion to a matrix.

Definition at line 102 of file diff.h.

References Lorene::Diff::get_matrice().

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

Assignment to another Diff_dsdx2.

Reimplemented from Lorene::Diff.

Definition at line 88 of file diff_dsdx2.C.

ostream & Lorene::Diff_dsdx2::operator>> ( ostream &  ost  )  const [protected, virtual]

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

Implements Lorene::Diff.

Definition at line 132 of file diff_dsdx2.C.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  ,
const Diff  
) [friend, inherited]

Display.


Member Data Documentation

int Lorene::Diff::base [protected, inherited]

Base in radial direction.

Definition at line 74 of file diff.h.

const int Lorene::Diff::max_points = 50 [static, inherited]

Maximal number of matrices stored per base.

Definition at line 71 of file diff.h.

int Lorene::Diff::npoints [protected, inherited]

Number of coefficients.

Definition at line 75 of file diff.h.


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

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1