Classes | Namespaces | Functions
two_d_linear_wave_flux.cc File Reference

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.
 
void TanhSolnForLinearWave::get_exact_gradient (const double &time, const Vector< double > &x, Vector< double > &dudx)
 Gradient of exact solution.
 
void TanhSolnForLinearWave::prescribed_flux_on_fixed_y_boundary (const double &time, const Vector< double > &x, double &flux)
 Prescribed flux on a fixed y max boundary.
 
int main (int argc, char *argv[])
 Demonstrate how to solve LinearWave problem.
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Demonstrate how to solve LinearWave problem.

Definition at line 603 of file two_d_linear_wave_flux.cc.

References TanhSolnForLinearWave::get_source(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::unsteady_run().