22 #include "tensor_impl.hpp"
24 #include "system_of_eqs.hpp"
25 #include <gsl/gsl_sf_bessel.h>
26 #include "spheric.hpp"
28 Array<double> mat_leg_even (
int,
int) ;
29 Array<double> mat_leg_odd (
int,
int) ;
31 Term_eq one (
const Space& space,
int mm,
int ll,
const Term_eq& omega,
const Param& parfit) {
37 valr.set_domain(dom) = 1 ;
38 derr.set_domain(dom) = 0 ;
40 return Term_eq(dom, valr, derr) ;
61 Term_eq res (pow(rm/rr, ll+1)) ;
66 Term_eq res (bessel_jl(mm*rr*omega, ll) / bessel_jl(mm*rm*omega, ll)) ;
89 return (pow(rm/rr, (ll+1))) ;
92 return (bessel_yl(mm*rr*omega, ll) / bessel_yl(mm*rm*omega, ll)) ;
113 cerr <<
"Ope_fit_waves called in bad domain" << endl ;
118 return pshell->
bc_waves (target, omega) ;
Class for a spherical shell and a symmetry with respect to the plane .
Term_eq bc_waves(const Term_eq &gamma, const Term_eq &omega) const
Gives an matching of the spatial metric, based on homogeneous solutions of outgoing waves.
Val_domain const & get_radius() const
Returns the generalized radius.
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.
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_fit_waves(const System_of_eqs *syst, Ope_eq *so, Ope_eq *ome)
Constructor.
~Ope_fit_waves() override
Destructor.
const double & get_double(int position=0) const
Returns the reference of a double stored in the list.
The class Scalar does not really implements scalars in the mathematical sense but rather tensorial co...
Val_domain & set_domain(int)
Read/write of a particular Val_domain.
void std_base()
Sets the standard basis of decomposition.
The Space class is an ensemble of domains describing the whole space of the computation.
const Domain * get_domain(int i) const
returns a pointer on the domain.
Class used to describe and solve a system of equations.
const Space & get_space() const
Returns the space.
This class is intended to describe the manage objects appearing in the equations.