Go to the source code of this file.
Classes | |
class | LinearWaveProblem< ELEMENT, TIMESTEPPER > |
LinearWave problem in rectanglular domain. More... | |
Namespaces | |
namespace | TanhSolnForLinearWave |
Namespace for exact solution for LinearWave equation with sharp step. | |
Functions | |
double | TanhSolnForLinearWave::exact_u (const double &time, const Vector< double > &x) |
Exact solution. | |
double | TanhSolnForLinearWave::exact_dudt (const double &time, const Vector< double > &x) |
1st time-deriv of exact solution | |
double | TanhSolnForLinearWave::exact_d2udt2 (const double &time, const Vector< double > &x) |
2nd time-deriv of exact solution | |
void | TanhSolnForLinearWave::get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u) |
Exact solution as a vector. | |
void | TanhSolnForLinearWave::get_source (const double &time, const Vector< double > &x, double &source) |
Source function to make it an exact solution. | |
int | main (int argc, char *argv[]) |
Demonstrate how to solve LinearWave problem. | |
Variables | |
double | TanhSolnForLinearWave::Alpha |
Parameter for steepness of step. | |
double | TanhSolnForLinearWave::Phi |
Orientation of step wave. | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Demonstrate how to solve LinearWave problem.
Definition at line 553 of file two_d_linear_wave.cc.
References TanhSolnForLinearWave::get_source(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::unsteady_run().