22 #include "tensor_impl.hpp"
23 #include "headcpp.hpp"
41 cerr <<
"Ope_sin only defined with respect for a scalar" << endl ;
54 if (target.
der_t!=0x0) {
72 if (target.
der_d==0x0) {
83 cerr <<
"Unknown storage in Term_eq..." << endl ;
87 cerr <<
"Warning should not be here in Ope_sin::action..." << endl ;
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.
~Ope_sin() override
Destructor.
Ope_sin(const System_of_eqs *syst, Ope_eq *so)
Constructor.
Term_eq action() const override
Computes the action of the current Ope_eq using its various parts.
Val_domain & set_domain(int)
Read/write of a particular Val_domain.
Class used to describe and solve a system of equations.
Scalar & set(const Array< int > &ind)
Returns the value of a component (read/write version).
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.
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 :
double * val_d
Pointer on the value, if the Term_eq is a double.
double * der_d
Pointer on the variation if the Term_eq is a double.
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...