KADATH
Kadath::Eq_int Class Reference

Class implementing an integral equation. More...

#include <system_of_eqs.hpp>

Public Member Functions

 Eq_int (int nop)
 Constructor just sets n_ope. More...
 
 ~Eq_int ()
 Destructor. More...
 
double get_val () const
 Return the value of the equation. More...
 
double get_der () const
 Return the variation of the equation. More...
 
void set_part (int i, Ope_eq *ope)
 Sets one of the Ope_eq needed by the equation. More...
 

Protected Attributes

int n_ope
 Number of terms. More...
 
Ope_eq ** parts
 Array of pointers on the various terms. More...
 

Friends

class System_of_eqs
 

Detailed Description

Class implementing an integral equation.

Definition at line 1418 of file system_of_eqs.hpp.

Constructor & Destructor Documentation

◆ Eq_int()

Kadath::Eq_int::Eq_int ( int  nop)

Constructor just sets n_ope.

Parameters
nop: the number of operators involved.

Definition at line 26 of file eq_int.cpp.

References n_ope, and parts.

◆ ~Eq_int()

Kadath::Eq_int::~Eq_int ( )

Destructor.

Definition at line 32 of file eq_int.cpp.

References n_ope, and parts.

Member Function Documentation

◆ get_der()

double Kadath::Eq_int::get_der ( ) const

Return the variation of the equation.

Definition at line 47 of file eq_int.cpp.

References n_ope, and parts.

◆ get_val()

double Kadath::Eq_int::get_val ( ) const

Return the value of the equation.

Definition at line 39 of file eq_int.cpp.

References Kadath::Ope_eq::action(), Kadath::Term_eq::get_val_d(), n_ope, and parts.

◆ set_part()

void Kadath::Eq_int::set_part ( int  i,
Ope_eq ope 
)

Sets one of the Ope_eq needed by the equation.

Parameters
i: the part to be set.
ope: pointer on the operator to be used.

Definition at line 54 of file eq_int.cpp.

References n_ope, and parts.

Member Data Documentation

◆ n_ope

int Kadath::Eq_int::n_ope
protected

Number of terms.

Definition at line 1421 of file system_of_eqs.hpp.

◆ parts

Ope_eq** Kadath::Eq_int::parts
protected

Array of pointers on the various terms.

Definition at line 1422 of file system_of_eqs.hpp.


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