LORENE

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

#include <diff.h>

Inheritance diagram for Lorene::Diff_xdsdx2:
Lorene::Diff

Public Member Functions

 Diff_xdsdx2 (int base_r, int nr)
 Standard constructor.
 
 Diff_xdsdx2 (const Diff_xdsdx2 &)
 Copy constructor.
 
virtual ~Diff_xdsdx2 ()
 Destructor.
 
void operator= (const Diff_xdsdx2 &)
 Assignment to another Diff_xdsdx2.
 
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 ostreamoperator>> (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.
 

Detailed Description

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

In the external compactified domain, it reads $ (\xi - 1) \frac{\partial^2}{\partial \xi^2} $. Not defined in the nucleus. ()

Definition at line 531 of file diff.h.

Constructor & Destructor Documentation

◆ Diff_xdsdx2() [1/2]

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

Standard constructor.

Definition at line 67 of file diff_xdsdx2.C.

References Lorene::Diff::base, initialize(), R_CHEBI, and R_CHEBP.

◆ Diff_xdsdx2() [2/2]

Lorene::Diff_xdsdx2::Diff_xdsdx2 ( const Diff_xdsdx2 diff_in)

Copy constructor.

Definition at line 72 of file diff_xdsdx2.C.

References Lorene::Diff::base, R_CHEBI, and R_CHEBP.

◆ ~Diff_xdsdx2()

Lorene::Diff_xdsdx2::~Diff_xdsdx2 ( )
virtual

Destructor.

Definition at line 77 of file diff_xdsdx2.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_xdsdx2::get_matrice ( ) const
virtual

Returns the matrix associated with the operator.

Implements Lorene::Diff.

Definition at line 97 of file diff_xdsdx2.C.

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

◆ 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_xdsdx2::initialize ( )
private

Initializes arrays.

Definition at line 79 of file diff_xdsdx2.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_xdsdx2::operator= ( const Diff_xdsdx2 diff_in)

Assignment to another Diff_xdsdx2.

Definition at line 91 of file diff_xdsdx2.C.

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

◆ operator>>()

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

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

Implements Lorene::Diff.

Definition at line 149 of file diff_xdsdx2.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: