18 #ifndef included_AdaptiveDMD_h
19 #define included_AdaptiveDMD_h
56 AdaptiveDMD(
int dim,
double desired_dt = -1.0, std::string rbf =
"G",
57 std::string interp_method =
"LS",
double closest_rbf_val = 0.9,
58 bool alt_output_basis =
false,
59 std::shared_ptr<Vector> state_offset =
nullptr);
72 void train(
double energy_fraction,
const Matrix* W0 = NULL,
73 double linearity_tol = 0.0);
81 void train(
int k,
const Matrix* W0 = NULL,
double linearity_tol = 0.0);
123 std::string d_interp_method;
128 std::vector<std::shared_ptr<Vector>> d_interp_snapshots;
133 void interpolateSnapshots();
138 double d_closest_rbf_val;
~AdaptiveDMD()
Destroy the AdaptiveDMD object.
double getTrueDt() const
Get the true dt between interpolated snapshots.
std::unique_ptr< const Matrix > getInterpolatedSnapshots()
Get the interpolated snapshot matrix contained within d_interp_snapshots.
void train(double energy_fraction, const Matrix *W0=NULL, double linearity_tol=0.0)