Isis 3 Programmer Reference
NumericalAtmosApprox.h
1#ifndef NUMERICALATMOSAPPROX_H
2#define NUMERICALATMOSAPPROX_H
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <string>
10#include <vector>
11
12#include "NumericalApproximation.h"
13using namespace std;
14namespace Isis {
15 class AtmosModel;
33 public:
38
46 double RombergsMethod(AtmosModel *am, IntegFunc sub, double a, double b);
47 double RefineExtendedTrap(AtmosModel *am, IntegFunc sub, double a, double b, double s, unsigned int n);
48
49 static double OutrFunc2Bint(AtmosModel *am, double phi);
50 static double InrFunc2Bint(AtmosModel *am, double mu);
51
52 };
53};
54#endif
55
56
Isotropic atmos scattering model.
Definition AtmosModel.h:60
NumericalApproximation provides various numerical analysis methods of interpolation,...
InterpType
This enum defines the types of interpolation supported in this class.
@ CubicNatural
Cubic Spline interpolation with natural boundary conditions.
This class extends Isis::NumericalApproximation.
static double InrFunc2Bint(AtmosModel *am, double mu)
Inner function to be integrated.
double RombergsMethod(AtmosModel *am, IntegFunc sub, double a, double b)
This variation on the NumericalApproximation method integrates a specified AtmosModel function rather...
virtual ~NumericalAtmosApprox()
Empty destructor.
NumericalAtmosApprox(const NumericalApproximation::InterpType &itype=CubicNatural)
Uses Isis::NumericalApproximation constructor.
static double OutrFunc2Bint(AtmosModel *am, double phi)
This function is the outer integrand over mu at specified phi.
double RefineExtendedTrap(AtmosModel *am, IntegFunc sub, double a, double b, double s, unsigned int n)
This variation on the NumericalApproximation method integrates a specified AtmosModel function rather...
IntegFunc
This enum defines function to be integrated by Romberg's method.
@ OuterFunction
Indicates that Romberg's method will integrate the function OutrFunc2Bint()
@ InnerFunction
Indicates that Romberg's method will integrate the function InrFunc2Bint()
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Namespace for the standard library.