KADATH
|
This operator gives the value of one coefficient of a field, on a given boundary. More...
#include <ope_eq.hpp>
Public Member Functions | |
Ope_mode (const System_of_eqs *syst, int bb, const Index &ind, double val, Ope_eq *so) | |
Constructor. More... | |
~Ope_mode () 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 | |
int | bound |
The boundary where the coefficients are read. More... | |
Index | pos_cf |
The desired coefficient. More... | |
double | value |
The result is the coefficient minus value. More... | |
const System_of_eqs * | syst |
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_eq > | parts |
Pointers of the various parts of the current operator. More... | |
This operator gives the value of one coefficient of a field, on a given boundary.
Definition at line 926 of file ope_eq.hpp.
Kadath::Ope_mode::Ope_mode | ( | const System_of_eqs * | syst, |
int | bb, | ||
const Index & | ind, | ||
double | val, | ||
Ope_eq * | so | ||
) |
Constructor.
syst | : the associated System_of_eqs . |
bb | : the boundary |
ind | : which coefficient. |
val | : the value with which the coefficient is "compared" |
so | : target |
Definition at line 24 of file ope_mode.cpp.
References Kadath::Ope_eq::parts.
|
override |
Destructor.
Definition at line 29 of file ope_mode.cpp.
|
overridevirtual |
Computes the action of the current Ope_eq
using its various parts.
Term_eq
containing the result. Implements Kadath::Ope_eq.
Definition at line 32 of file ope_mode.cpp.
References bound, Kadath::Val_domain::check_if_zero(), Kadath::Term_eq::der_t, Kadath::Ope_eq::dom, Kadath::Val_domain::get_domain(), Kadath::Tensor::get_n_comp(), Kadath::Tensor::indices(), Kadath::Ope_eq::parts, pos_cf, Kadath::Term_eq::type_data, Kadath::Domain::val_boundary(), Kadath::Term_eq::val_t, and value.
|
inlineinherited |
Domain
. Definition at line 53 of file ope_eq.hpp.
References Kadath::Ope_eq::dom.
|
protected |
The boundary where the coefficients are read.
Definition at line 928 of file ope_eq.hpp.
|
protectedinherited |
Index of the Domain
where the operator is defined.
Definition at line 36 of file ope_eq.hpp.
|
protectedinherited |
Number of terms involved (2 for + for instance, only one for sqrt...)
Definition at line 37 of file ope_eq.hpp.
|
protectedinherited |
Pointers of the various parts of the current operator.
Definition at line 38 of file ope_eq.hpp.
|
protected |
The desired coefficient.
The index corresponding to the boundary is unused.
Definition at line 933 of file ope_eq.hpp.
|
protectedinherited |
The associated System_of_eqs
.
Definition at line 35 of file ope_eq.hpp.
|
protected |
The result is the coefficient minus value.
Definition at line 934 of file ope_eq.hpp.