KADATH
|
The operator identity. More...
#include <ope_eq.hpp>
Public Member Functions | |
Ope_id (const System_of_eqs *syst, const Term_eq *so, int valence, char *names, Array< int > *ttype) | |
Constructor. More... | |
Ope_id (const System_of_eqs *syst, const Term_eq *so) | |
Constructor with mos of the stuff uninitialized. More... | |
~Ope_id () 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 | |
const Term_eq * | target |
The input Term_eq . More... | |
int | valence |
Valence of the result. More... | |
char * | name_ind |
The names of the various indices (if a Tensor of valence >0) More... | |
Array< int > * | type_ind |
The type of the indices. More... | |
bool | need_sum |
True if an inner contraction is needed to compute the result. 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 identity.
Definition at line 72 of file ope_eq.hpp.
Kadath::Ope_id::Ope_id | ( | const System_of_eqs * | syst, |
const Term_eq * | so, | ||
int | valence, | ||
char * | names, | ||
Array< int > * | ttype | ||
) |
Constructor.
syst | : the associated System_of_eqs . |
so | : The input Term_eq |
valence | : valence of the result (can differ from the one of so, due to inner contraction). |
names | : name of the indices. |
ttype | : type of the indices (can differ from so, in whic case a Metric is required to do the manipulation). |
Definition at line 26 of file ope_id.cpp.
Kadath::Ope_id::Ope_id | ( | const System_of_eqs * | syst, |
const Term_eq * | so | ||
) |
Constructor with mos of the stuff uninitialized.
syst | : the associated System_of_eqs . |
so | : The input Term_eq |
Definition at line 37 of file ope_id.cpp.
|
override |
|
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 49 of file ope_id.cpp.
References Kadath::Term_eq::der_t, Kadath::Tensor::do_summation_one_dom(), Kadath::Ope_eq::dom, Kadath::Tensor::get_index_type(), Kadath::System_of_eqs::get_met(), Kadath::Metric::manipulate_ind(), Kadath::Tensor::name_affected, name_ind, need_sum, Kadath::Tensor::set_name_ind(), Kadath::Ope_eq::syst, target, type_ind, Kadath::Term_eq::val_t, and valence.
|
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 |
The names of the various indices (if a Tensor
of valence >0)
Definition at line 77 of file ope_eq.hpp.
|
protected |
True if an inner contraction is needed to compute the result.
Definition at line 79 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 |
The input Term_eq
.
Definition at line 75 of file ope_eq.hpp.
|
protected |
The type of the indices.
Definition at line 78 of file ope_eq.hpp.
|
protected |
Valence of the result.
Definition at line 76 of file ope_eq.hpp.