SphericalHarmonic2.h
Go to the documentation of this file.
1 #pragma once
2 
13 namespace NETGeographicLib
14 {
15  ref class CircularEngine;
16  ref class SphericalCoefficients;
40  public ref class SphericalHarmonic2
41  {
42  private:
43  // pointer to the unmanaged GeographicLib::SphericalHarmonic2
45  // the finalizer destroys the unmanaged memory when the object is destroyed.
46  !SphericalHarmonic2(void);
47  // the number of coefficient vectors.
48  static const int m_numCoeffVectors = 3;
49  // local containers for the cosine and sine coefficients. The
50  // GeographicLib::SphericalEngine::coeffs class uses a
51  // std::vector::iterator to access these vectors.
52  std::vector<double> **m_C, **m_S;
53  public:
57  enum class Normalization {
72  };
73 
106  array<double>^ S,
107  int N,
108  array<double>^ C1,
109  array<double>^ S1,
110  int N1,
111  array<double>^ C2,
112  array<double>^ S2,
113  int N2,
114  double a,
115  Normalization norm );
116 
156  array<double>^ S,
157  int N, int nmx, int mmx,
158  array<double>^ C1,
159  array<double>^ S1,
160  int N1, int nmx1, int mmx1,
161  array<double>^ C2,
162  array<double>^ S2,
163  int N2, int nmx2, int mmx2,
164  double a,
165  Normalization norm );
166 
171  { this->!SphericalHarmonic2(); }
172 
186  double HarmonicSum(double tau1, double tau2, double x, double y, double z);
187 
207  double HarmonicSum(double tau1, double tau2, double x, double y, double z,
208  [System::Runtime::InteropServices::Out] double% gradx,
209  [System::Runtime::InteropServices::Out] double% grady,
210  [System::Runtime::InteropServices::Out] double% gradz);
211 
236  CircularEngine^ Circle(double tau1, double tau2, double p, double z, bool gradp);
237 
250  };
251 } // namespace NETGeographicLib
NETGeographicLib::SphericalHarmonic2::HarmonicSum
double HarmonicSum(double tau1, double tau2, double x, double y, double z)
Definition: SphericalHarmonic2.cpp:136
NETGeographicLib::SphericalHarmonic2::Coefficients
SphericalCoefficients Coefficients()
Definition: SphericalHarmonic2.cpp:171
S1
static double S1[]
Definition: shichi.c:61
NETGeographicLib::SphericalHarmonic2::Coefficients2
SphericalCoefficients Coefficients2()
Definition: SphericalHarmonic2.cpp:183
NETGeographicLib::SphericalHarmonic2::m_S
std::vector< double > ** m_S
Definition: SphericalHarmonic2.h:52
NETGeographicLib::SphericalHarmonic2::Circle
CircularEngine Circle(double tau1, double tau2, double p, double z, bool gradp)
Definition: SphericalHarmonic2.cpp:157
x
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition: gnuplot_common_settings.hh:12
NETGeographicLib::SphericalHarmonic2::Normalization::SCHMIDT
@ SCHMIDT
C2
Definition: test_operator_overloading.cpp:98
GeographicLib::SphericalEngine::SCHMIDT
@ SCHMIDT
Definition: SphericalEngine.hpp:84
NETGeographicLib::SphericalCoefficients
.NET wrapper for GeographicLib::SphericalEngine::coeff.
Definition: SphericalCoefficients.h:34
S2
Symmetric< 2 > S2
Definition: testGroup.cpp:80
NETGeographicLib::SphericalHarmonic2::Normalization::FULL
@ FULL
C1
Definition: test_operator_overloading.cpp:97
NETGeographicLib::SphericalHarmonic2::SphericalHarmonic2
SphericalHarmonic2(array< double >^ C, array< double >^ S, int N, array< double >^ C1, array< double >^ S1, int N1, array< double >^ C2, array< double >^ S2, int N2, double a, Normalization norm)
Definition: SphericalHarmonic2.cpp:51
NETGeographicLib::SphericalHarmonic2
.NET wrapper for GeographicLib::SphericalHarmonic2.
Definition: SphericalHarmonic2.h:40
NETGeographicLib::SphericalHarmonic2::m_numCoeffVectors
static const int m_numCoeffVectors
Definition: SphericalHarmonic2.h:48
NETGeographicLib::SphericalHarmonic2::m_pSphericalHarmonic2
const GeographicLib::SphericalHarmonic2 * m_pSphericalHarmonic2
Definition: SphericalHarmonic2.h:44
GeographicLib::SphericalEngine::FULL
@ FULL
Definition: SphericalEngine.hpp:77
pybind_wrapper_test_script.z
z
Definition: pybind_wrapper_test_script.py:61
NETGeographicLib::SphericalHarmonic2::m_C
std::vector< double > ** m_C
Definition: SphericalHarmonic2.h:52
NETGeographicLib::CircularEngine
.NET wrapper for GeographicLib::CircularEngine.
Definition: CircularEngine.h:54
y
Scalar * y
Definition: level1_cplx_impl.h:124
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
array< double >
C
Matrix< Scalar, Dynamic, Dynamic > C
Definition: bench_gemm.cpp:50
GeographicLib::SphericalHarmonic2
Spherical harmonic series with two corrections to the coefficients.
Definition: SphericalHarmonic2.hpp:35
p
float * p
Definition: Tutorial_Map_using.cpp:9
NETGeographicLib::SphericalHarmonic2::Coefficients1
SphericalCoefficients Coefficients1()
Definition: SphericalHarmonic2.cpp:177
N
#define N
Definition: igam.h:9
NETGeographicLib::SphericalHarmonic2::Normalization
Normalization
Definition: SphericalHarmonic2.h:57
NETGeographicLib::SphericalHarmonic2::~SphericalHarmonic2
~SphericalHarmonic2()
Definition: SphericalHarmonic2.h:170
NETGeographicLib
Definition: Accumulator.h:13
S
DiscreteKey S(1, 2)


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:14:02