Classes | Namespaces | Functions
two_d_linear_wave_flux.cc File Reference

Go to the source code of this file.

Classes

class  LinearWaveProblem< ELEMENT, TIMESTEPPER >
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Namespaces

 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...
 
void TanhSolnForLinearWave::get_exact_gradient (const double &time, const Vector< double > &x, Vector< double > &dudx)
 Gradient of exact solution. More...
 
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. More...
 
int main (int argc, char *argv[])
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

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