KADATH
|
Operator defined by the user in the System_of_eqs
This version is intended to work with one argument.
More...
#include <ope_eq.hpp>
Public Member Functions | |
Ope_user (const System_of_eqs *syst, Term_eq(*zeope)(const Term_eq &, Param *), Param *par, Ope_eq *so) | |
Constructor. More... | |
~Ope_user () 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 | |
Param * | par |
Parameters required by the function. More... | |
Term_eq(* | pope )(const Term_eq &, Param *) |
The function that implements the action of the operator. 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 defined by the user in the System_of_eqs
This version is intended to work with one argument.
Definition at line 1241 of file ope_eq.hpp.
Kadath::Ope_user::Ope_user | ( | const System_of_eqs * | syst, |
Term_eq(*)(const Term_eq &, Param *) | zeope, | ||
Param * | par, | ||
Ope_eq * | so | ||
) |
Constructor.
syst | : the associated System_of_eqs . |
zeope | : pointer on the function that implements the action of the operator. |
par | : parameters required by the function. |
so | : the argument. |
Definition at line 25 of file ope_user.cpp.
References par, and Kadath::Ope_eq::parts.
|
override |
Destructor.
Definition at line 31 of file ope_user.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 34 of file ope_user.cpp.
References par, Kadath::Ope_eq::parts, and pope.
|
inlineinherited |
Domain
. Definition at line 53 of file ope_eq.hpp.
References Kadath::Ope_eq::dom.
|
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.
|
protected |
Parameters required by the function.
Definition at line 1243 of file ope_eq.hpp.
|
protectedinherited |
Pointers of the various parts of the current operator.
Definition at line 38 of file ope_eq.hpp.
The function that implements the action of the operator.
Definition at line 1244 of file ope_eq.hpp.
|
protectedinherited |
The associated System_of_eqs
.
Definition at line 35 of file ope_eq.hpp.