Classes | Namespaces | Functions | Variables
two_d_linear_wave.cc File Reference

Go to the source code of this file.

Classes

class  LinearWaveProblem< ELEMENT, TIMESTEPPER >
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// 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. More...
 
double TanhSolnForLinearWave::exact_dudt (const double &time, const Vector< double > &x)
 1st time-deriv of exact solution More...
 
double TanhSolnForLinearWave::exact_d2udt2 (const double &time, const Vector< double > &x)
 2nd time-deriv of exact solution More...
 
void TanhSolnForLinearWave::get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u)
 Exact solution as a vector. More...
 
void TanhSolnForLinearWave::get_source (const double &time, const Vector< double > &x, double &source)
 Source function to make it an exact solution. More...
 
int main (int argc, char *argv[])
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Variables

double TanhSolnForLinearWave::Alpha
 Parameter for steepness of step. More...
 
double TanhSolnForLinearWave::Phi
 Orientation of step wave. More...
 

Function Documentation

◆ main()

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().