20 #include "system_of_eqs.hpp"
22 #include "term_eq.hpp"
24 #include "tensor_impl.hpp"
28 for (
int i=0 ; i<
n_ope ; i++)
33 for (
int i=0 ; i<
n_ope ; i++)
41 for (
int i=0 ; i<
n_ope ; i++) {
49 for (
int i=0 ; i<
n_ope ; i++)
50 res +=
parts[i]->action().get_der_d() ;
55 assert ((pos>=0) && (pos<
n_ope)) ;
Ope_eq ** parts
Array of pointers on the various terms.
double get_der() const
Return the variation of the equation.
int n_ope
Number of terms.
Eq_int(int nop)
Constructor just sets n_ope.
void set_part(int i, Ope_eq *ope)
Sets one of the Ope_eq needed by the equation.
double get_val() const
Return the value of the equation.
Abstract class that describes the various operators that can appear in the equations.
virtual Term_eq action() const =0
Computes the action of the current Ope_eq using its various parts.