CppNoddy
0.92
|
Define the system. More...
Public Member Functions | |
Shallow_2d_rad () | |
One dimemsional constant coefft acoustic problem. More... | |
void | flux_fn_x (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &f) const |
Define the vector flux. More... | |
void | flux_fn_y (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &f) const |
A virtual flux function for the y-derivative. More... | |
void | Jac_flux_fn_x (const DenseVector< double > &x, const DenseVector< double > &q, DenseMatrix< double > &J) const |
A virtual function function to define the Jacobian of the x-flux function. More... | |
void | Jac_flux_fn_y (const DenseVector< double > &x, const DenseVector< double > &q, DenseMatrix< double > &J) const |
A virtual function function to define the Jacobian of the y-flux function. More... | |
void | max_charac_speed (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &c) const |
Bound the wave speed. More... | |
![]() | |
TwoD_Hyperbolic_System (const unsigned &order) | |
virtual | ~TwoD_Hyperbolic_System () |
An empty destructor, virtual since we have virtual methods. More... | |
virtual void | flux_fn_x (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &f) const |
A virtual flux function for the x-derivative. More... | |
virtual void | flux_fn_y (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &f) const |
A virtual flux function for the y-derivative. More... | |
virtual void | Jac_flux_fn_x (const DenseVector< double > &x, const DenseVector< double > &q, DenseMatrix< double > &J) const |
A virtual function function to define the Jacobian of the x-flux function. More... | |
virtual void | Jac_flux_fn_y (const DenseVector< double > &x, const DenseVector< double > &q, DenseMatrix< double > &J) const |
A virtual function function to define the Jacobian of the y-flux function. More... | |
virtual void | max_charac_speed (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &c) const |
A virtual method that is used to bound the characteristic speed in both directions. More... | |
virtual std::vector< bool > | edge_values (const int &face_index, const DenseVector< double > &x, DenseVector< double > &q) const |
Define the edge boundary conditions. More... | |
virtual void | edge_slopes (const int &face_index, const DenseVector< double > &x, DenseVector< double > &sigma_n) const |
Define the edge boundary condition slopes. More... | |
virtual void | source_fn (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &r) const |
unsigned | get_order () |
Additional Inherited Members | |
![]() | |
const unsigned | ORDER_OF_SYSTEM |
The order of the system of equations. More... | |
Define the system.
Definition at line 29 of file HYP2DRadialDamBreak.cpp.
|
inline |
One dimemsional constant coefft acoustic problem.
Definition at line 35 of file HYP2DRadialDamBreak.cpp.
|
inlinevirtual |
Define the vector flux.
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 39 of file HYP2DRadialDamBreak.cpp.
References f, CppNoddy::Example::g(), h, hu, and hv.
|
inlinevirtual |
A virtual flux function for the y-derivative.
x | The vector position |
q | The unknowns |
f | The flux function |
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 46 of file HYP2DRadialDamBreak.cpp.
References f, CppNoddy::Example::g(), h, hu, and hv.
|
inlinevirtual |
A virtual function function to define the Jacobian of the x-flux function.
The default method uses first-order finite differencing to compute the Jacobian if not otherwise specified by the user.
x | The vector position |
q | The unknowns |
J | The Jacobian of the flux function |
cheap & nasty differencing
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 54 of file HYP2DRadialDamBreak.cpp.
References CppNoddy::Example::g(), h, hu, and hv.
|
inlinevirtual |
A virtual function function to define the Jacobian of the y-flux function.
The default method uses first-order finite differencing to compute the Jacobian if not otherwise specified by the user.
x | The vector position |
q | The unknowns |
J | The Jacobian of the flux function |
cheap & nasty differencing
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 64 of file HYP2DRadialDamBreak.cpp.
References CppNoddy::Example::g(), h, hu, and hv.
|
inlinevirtual |
Bound the wave speed.
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 75 of file HYP2DRadialDamBreak.cpp.
© 2012
R.E. Hewitt