|
KADATH
|
Operator for a global definition (i.e. More...
#include <ope_eq.hpp>
Public Member Functions | |
| Ope_def_global (const System_of_eqs *syst, int dom, const char *name_ope) | |
| Constructor. More... | |
| Term_eq | action () const override |
Computes the action of the current Ope_eq using its various parts. More... | |
| Term_eq * | get_res () |
| Returns the result. More... | |
| void | compute_res () |
| Forces the computation of the result (when things have changed). More... | |
| int | get_dom () const |
Protected Attributes | |
| Term_eq * | res |
| Result. More... | |
| Term_eq ** | auxi |
| Various parts of the result (i.e. the contributions of the various domains). 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... | |
Operator for a global definition (i.e.
involving all the domains ; line an integral in the whole space). The value is a Term_eq and so defined in a given domain (even if its value is computed from all the domains...)
Definition at line 1340 of file ope_eq.hpp.
| Kadath::Ope_def_global::Ope_def_global | ( | const System_of_eqs * | syst, |
| int | dom, | ||
| const char * | name_ope | ||
| ) |
Constructor.
| syst | : the associated System_of_eqs. |
| dom | : the index of the Domain of the result. |
| name_ope | : the quantity (typically should contain things like integvolume) |
Definition at line 24 of file ope_def_global.cpp.
References auxi, compute_res(), Kadath::Ope_eq::dom, Kadath::System_of_eqs::get_dom_min(), Kadath::System_of_eqs::give_ope(), Kadath::Ope_eq::n_ope, Kadath::Ope_eq::parts, res, and Kadath::Ope_eq::syst.
|
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 44 of file ope_def_global.cpp.
| void Kadath::Ope_def_global::compute_res | ( | ) |
Forces the computation of the result (when things have changed).
Definition at line 58 of file ope_def_global.cpp.
References action(), auxi, Kadath::Ope_eq::dom, Kadath::Ope_eq::n_ope, Kadath::Ope_eq::parts, and res.
|
inlineinherited |
Domain. Definition at line 53 of file ope_eq.hpp.
References Kadath::Ope_eq::dom.
| Term_eq * Kadath::Ope_def_global::get_res | ( | ) |
|
protected |
Various parts of the result (i.e. the contributions of the various domains).
Definition at line 1343 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 |
Result.
Definition at line 1342 of file ope_eq.hpp.
|
protectedinherited |
The associated System_of_eqs.
Definition at line 35 of file ope_eq.hpp.