22 #include "tensor_impl.hpp"
28 Ope_mult_sint::~Ope_mult_sint() {
36 cerr <<
"Ope_mult_sint only defined with respect to a tensor" << endl ;
59 for (
int ncmp = 0 ; ncmp<valence ; ncmp++)
63 if (target.
der_t!=0x0) {
79 for (
int ncmp = 0 ; ncmp<valence ; ncmp++)
virtual Val_domain mult_sin_theta(const Val_domain &) const
Multiplication by .
Abstract class that describes the various operators that can appear in the equations.
MMPtr_array< Ope_eq > parts
Pointers of the various parts of the current operator.
int dom
Index of the Domain where the operator is defined.
Term_eq action() const override
Destructor
Ope_mult_sint(const System_of_eqs *syst, Ope_eq *so)
Constructor.
Val_domain & set_domain(int)
Read/write of a particular Val_domain.
Class used to describe and solve a system of equations.
void set_name_ind(int dd, char name)
Sets the name of one index ; the names must have been affected first.
void set_name_affected()
Affects the name of the indices.
Scalar & set(const Array< int > &ind)
Returns the value of a component (read/write version).
char const * get_name_ind() const
int get_n_comp() const
Returns the number of stored components.
virtual Array< int > indices(int pos) const
Gives the values of the indices corresponding to a location in the array used for storage of the comp...
int get_valence() const
Returns the valence.
bool is_name_affected() const
Check whether the names of the indices have been affected.
This class is intended to describe the manage objects appearing in the equations.
Tensor * der_t
Pointer on the variation, if the Term_eq is a Tensor.
const int type_data
Flag describing the type of data :
Tensor * val_t
Pointer on the value, if the Term_eq is a Tensor.
Class for storing the basis of decompositions of a field and its values on both the configuration and...
void set_zero()
Sets the Val_domain to zero (logical state to zero and arrays destroyed).
bool check_if_zero() const
Check whether the logical state is zero or not.
const Domain * get_domain() const