KADATH
Kadath::Ope_scal Class Reference

The operator flat scalar product Intended for systems where no metric has been defined. More...

#include <ope_eq.hpp>

Inheritance diagram for Kadath::Ope_scal:
Kadath::Ope_eq

Public Member Functions

 Ope_scal (const System_of_eqs *syst, Ope_eq *aa, Ope_eq *bb)
 Constructor. More...
 
 ~Ope_scal () override
 Destructor. More...
 
Term_eq action () const override
 Computes the action of the current Ope_eq using its various parts. More...
 
int get_dom () const
 

Protected Attributes

const System_of_eqssyst
 The associated System_of_eqs. More...
 
int dom
 Index of the Domain where the operator is defined. More...
 
int n_ope
 Number of terms involved (2 for + for instance, only one for sqrt...) More...
 
MMPtr_array< Ope_eqparts
 Pointers of the various parts of the current operator. More...
 

Detailed Description

The operator flat scalar product Intended for systems where no metric has been defined.

Definition at line 344 of file ope_eq.hpp.

Constructor & Destructor Documentation

◆ Ope_scal()

Kadath::Ope_scal::Ope_scal ( const System_of_eqs syst,
Ope_eq aa,
Ope_eq bb 
)

Constructor.

Parameters
syst: the associated System_of_eqs.
aa: first vector.
bb: second vector.

Definition at line 23 of file ope_scal.cpp.

References Kadath::Ope_eq::get_dom(), and Kadath::Ope_eq::parts.

◆ ~Ope_scal()

Kadath::Ope_scal::~Ope_scal ( )
override

Destructor.

Definition at line 30 of file ope_scal.cpp.

Member Function Documentation

◆ action()

Term_eq Kadath::Ope_scal::action ( ) const
overridevirtual

Computes the action of the current Ope_eq using its various parts.

Returns
the Term_eq containing the result.

Implements Kadath::Ope_eq.

Definition at line 33 of file ope_scal.cpp.

References Kadath::Ope_eq::parts.

◆ get_dom()

int Kadath::Ope_eq::get_dom ( ) const
inlineinherited
Returns
the index of the Domain.

Definition at line 53 of file ope_eq.hpp.

References Kadath::Ope_eq::dom.

Member Data Documentation

◆ dom

int Kadath::Ope_eq::dom
protectedinherited

Index of the Domain where the operator is defined.

Definition at line 36 of file ope_eq.hpp.

◆ n_ope

int Kadath::Ope_eq::n_ope
protectedinherited

Number of terms involved (2 for + for instance, only one for sqrt...)

Definition at line 37 of file ope_eq.hpp.

◆ parts

MMPtr_array<Ope_eq> Kadath::Ope_eq::parts
protectedinherited

Pointers of the various parts of the current operator.

Definition at line 38 of file ope_eq.hpp.

◆ syst

const System_of_eqs* Kadath::Ope_eq::syst
protectedinherited

The associated System_of_eqs.

Definition at line 35 of file ope_eq.hpp.


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