22 #include "tensor_impl.hpp"
25 #include "system_of_eqs.hpp"
28 type_der (tt), ind_der(ind) {
30 assert ((tt==COV) || (tt==CON)) ;
41 cerr <<
"Ope_der only defined with respect for a tensor" << endl ;
virtual Term_eq derive(int typeder, char nameder, const Term_eq &so) const
Computes the covariant derivative of a Term_eq (assumes Cartesian basis of decomposition).
Ope_der(const System_of_eqs *syst, int typeder, char indder, Ope_eq *so)
Constructor.
char ind_der
Name of the index of the derivative.
int type_der
Type of derivative (CON or COV)
~Ope_der() override
Destructor.
Term_eq action() const override
Computes the action of the current Ope_eq using its various parts.
Abstract class that describes the various operators that can appear in the equations.
const System_of_eqs * syst
The associated System_of_eqs.
MMPtr_array< Ope_eq > parts
Pointers of the various parts of the current operator.
Class used to describe and solve a system of equations.
const Metric * get_met() const
Returns a pointer on the Metric.
This class is intended to describe the manage objects appearing in the equations.
const int type_data
Flag describing the type of data :