KADATH
|
The operator partial derivative wrt one variable (same thing as Ope_partial ??) More...
#include <ope_eq.hpp>
Public Member Functions | |
Ope_partial_var (const System_of_eqs *syst, int which, Ope_eq *so) | |
Constructor. More... | |
~Ope_partial_var () 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 | which_var |
Index of the variable wrt which the derivative is taken. 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... | |
The operator partial derivative wrt one variable (same thing as Ope_partial ??)
Definition at line 904 of file ope_eq.hpp.
Kadath::Ope_partial_var::Ope_partial_var | ( | const System_of_eqs * | syst, |
int | which, | ||
Ope_eq * | so | ||
) |
Constructor.
syst | : the associated System_of_eqs . |
which | : index of the variable wrt the derivative is taken |
so | : target |
Definition at line 24 of file ope_partial_var.cpp.
References Kadath::Ope_eq::parts.
|
override |
Destructor.
Definition at line 28 of file ope_partial_var.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 31 of file ope_partial_var.cpp.
References Kadath::Val_domain::check_if_zero(), Kadath::Domain::der_partial_var(), 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, Kadath::Tensor::set(), Kadath::Scalar::set_domain(), Kadath::Val_domain::set_zero(), Kadath::Term_eq::type_data, Kadath::Term_eq::val_t, and which_var.
|
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.
|
protectedinherited |
Pointers of the various parts of the current operator.
Definition at line 38 of file ope_eq.hpp.
|
protectedinherited |
The associated System_of_eqs
.
Definition at line 35 of file ope_eq.hpp.
|
protected |
Index of the variable wrt which the derivative is taken.
Definition at line 907 of file ope_eq.hpp.