We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5612d2c + 90ecfe9 commit 113493fCopy full SHA for 113493f
4 files changed
expui/BiorthBasis.H
@@ -14,6 +14,7 @@
14
#include <BiorthBess.H>
15
#include <BasisFactory.H>
16
#include <BiorthCube.H>
17
+#include <sltableMP2.H>
18
#include <SLGridMP2.H>
19
#include <YamlCheck.H>
20
#include <BiorthCyl.H>
exputil/SLGridMP2.cc
@@ -696,6 +696,11 @@ SLGridSph::~SLGridSph()
696
697
// Members
698
699
+double SLGridSph::eigenvalue(int l, int n)
700
+{
701
+ return table.get()[l].ev[n];
702
+}
703
+
704
double SLGridSph::r_to_xi(double r)
705
{
706
double ret;
@@ -2313,6 +2318,10 @@ SLGridSlab::~SLGridSlab()
2313
2318
// Nothing
2314
2319
}
2315
2320
2321
+double SLGridSlab::eigenvalue(int kx, int ky, int n) {
2322
+ return table.get()[kx].get()[ky].ev[n];
2323
2324
2316
2325
// Coordinate transformation member functions for tanh map
2317
2326
double SLGridSlab::TanhMap::z_to_xi (double z) { return tanh(z/H); }
2327
double SLGridSlab::TanhMap::xi_to_z (double xi) { return H*atanh(xi); }
include/PseudoAccel.H
@@ -63,17 +63,17 @@ public:
63
if (queue.size()==Nsize) {
64
65
if (CENTER) {
66
- accel <<
67
- 2.0*std::get<0>(QuadLS(t, x).coefs()),
68
- 2.0*std::get<0>(QuadLS(t, y).coefs()),
69
- 2.0*std::get<0>(QuadLS(t, z).coefs());
+ accel <<
+ 2.0*std::get<0>(QuadLS<std::vector<double>>(t, x).coefs()),
+ 2.0*std::get<0>(QuadLS<std::vector<double>>(t, y).coefs()),
+ 2.0*std::get<0>(QuadLS<std::vector<double>>(t, z).coefs());
70
71
72
if (AXIS) {
73
- auto [a, b, c] = QuadLS(t, u).coefs();
74
- auto [d, e, f] = QuadLS(t, v).coefs();
75
- auto [g, h, i] = QuadLS(t, w).coefs();
76
-
+ auto [a, b, c] = QuadLS<std::vector<double>>(t, u).coefs();
+ auto [d, e, f] = QuadLS<std::vector<double>>(t, v).coefs();
+ auto [g, h, i] = QuadLS<std::vector<double>>(t, w).coefs();
77
double T = t.back(); // Last eval time
78
79
Eigen::Vector3d n, dndt, d2ndt2;
include/SLGridMP2.H
@@ -129,7 +129,7 @@ public:
129
130
131
//! Eigenvalue for index and harmonic order l
132
- double eigenvalue(int l, int n) {return table[l].ev[n];}
+ double eigenvalue(int l, int n);
133
134
//! Map radial coordinate to nondimensional coordinate
135
double r_to_xi(double r);
@@ -396,12 +396,12 @@ public:
396
//! Destructor
397
~SLGridSlab();
398
399
400
//@{
401
//! Members
402
403
//! Get n^th eigenvalue for given wave number indices
404
- double eigenvalue(int kx, int ky, int n) {return table[kx][ky].ev[n];}
+ double eigenvalue(int kx, int ky, int n);
405
406
//! Map from vertical coordinate to dimensionless coordinate
407
double z_to_xi(double z) { return mM->z_to_xi(z); }
0 commit comments