22 #include "tensor_impl.hpp"
25 Ope_eq(zesys, target->get_dom(), 1), pos (pp) {
36 cerr <<
"Ope_int only defined with respect for a tensor" << endl ;
41 cerr <<
"Ope_val only defined with respect to a scalar (yet)" << endl ;
55 if (target.
der_t!=0x0) {
62 resder = val_der(
pos) ;
Class that gives the position inside a multi-dimensional Array.
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_val(const System_of_eqs *syst, const Index &ind, Ope_eq *so)
Constructor.
~Ope_val() override
Destructor.
Term_eq action() const override
Computes the action of the current Ope_eq using its various parts.
Index pos
which collocation point.
Class used to describe and solve a system of equations.
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...
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...
bool check_if_zero() const
Check whether the logical state is zero or not.
void coef_i() const
Computes the values in the configuration space.