22 #include "tensor_impl.hpp"
40 cerr <<
"Ope_pow only defined for scalars" << endl ;
46 for (
int i=1 ; i<fabs(
power) ; i++)
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
Computes the action of the current Ope_eq using its various parts.
Ope_pow(const System_of_eqs *syst, int pow, Ope_eq *so)
Constructor.
int power
The exponent (an integer, possibly negative).
~Ope_pow() override
Destructor.
Class used to describe and solve a system of equations.
int get_valence() const
Returns the valence.
This class is intended to describe the manage objects appearing in the equations.
const Tensor * get_p_val_t() const
int get_type_data() const