numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to calculate exact solution of string_wave_1d_problem. More...
#include <num_prob_collect/ode/string_wave_1d_problem.h>
Public Member Functions | |
string_wave_1d_solution (const string_wave_1d_parameters ¶ms) | |
Constructor. | |
void | evaluate_on (double time) |
Evaluate solution. | |
auto | solution () -> const Eigen::VectorXd & |
Get the solution. |
Private Attributes | |
double | length_ |
Length. | |
Eigen::VectorXd | points_ |
Spatial points. | |
Eigen::VectorXd | solution_ |
Solution. | |
double | speed_ |
Speed. |
Class to calculate exact solution of string_wave_1d_problem.
Definition at line 134 of file string_wave_1d_problem.h.
|
inlineexplicit |
Constructor.
[in] | params | Parameters. |
Definition at line 141 of file string_wave_1d_problem.h.
|
inline |
Evaluate solution.
[in] | time | Time. |
Definition at line 153 of file string_wave_1d_problem.h.
|
inlinenodiscard |
Get the solution.
Definition at line 179 of file string_wave_1d_problem.h.
|
private |
Length.
Definition at line 188 of file string_wave_1d_problem.h.
|
private |
Spatial points.
Definition at line 191 of file string_wave_1d_problem.h.
|
private |
Solution.
Definition at line 194 of file string_wave_1d_problem.h.
|
private |
Speed.
Definition at line 185 of file string_wave_1d_problem.h.