Isis Developer Reference
NumericalAtmosApprox.h
Go to the documentation of this file.
1#ifndef NUMERICALATMOSAPPROX_H
2#define NUMERICALATMOSAPPROX_H
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <string>
10#include <vector>
11
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,...
Definition NumericalApproximation.h:726
InterpType
This enum defines the types of interpolation supported in this class.
Definition NumericalApproximation.h:731
@ CubicNatural
Cubic Spline interpolation with natural boundary conditions.
Definition NumericalApproximation.h:734
This class extends Isis::NumericalApproximation.
Definition NumericalAtmosApprox.h:32
static double InrFunc2Bint(AtmosModel *am, double mu)
Inner function to be integrated.
Definition NumericalAtmosApprox.cpp:250
double RombergsMethod(AtmosModel *am, IntegFunc sub, double a, double b)
This variation on the NumericalApproximation method integrates a specified AtmosModel function rather...
Definition NumericalAtmosApprox.cpp:52
virtual ~NumericalAtmosApprox()
Empty destructor.
Definition NumericalAtmosApprox.h:37
NumericalAtmosApprox(const NumericalApproximation::InterpType &itype=CubicNatural)
Uses Isis::NumericalApproximation constructor.
Definition NumericalAtmosApprox.h:35
static double OutrFunc2Bint(AtmosModel *am, double phi)
This function is the outer integrand over mu at specified phi.
Definition NumericalAtmosApprox.cpp:201
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...
Definition NumericalAtmosApprox.cpp:136
IntegFunc
This enum defines function to be integrated by Romberg's method.
Definition NumericalAtmosApprox.h:43
@ OuterFunction
Indicates that Romberg's method will integrate the function OutrFunc2Bint()
Definition NumericalAtmosApprox.h:43
@ InnerFunction
Indicates that Romberg's method will integrate the function InrFunc2Bint()
Definition NumericalAtmosApprox.h:44
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Namespace for the standard library.