|
CppNoddy
0.92
|
Define the system. More...
Public Member Functions | |
| Shallow_2d_source () | |
| 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... | |
| std::vector< bool > | edge_values (const int &face_index, const DenseVector< double > &x, DenseVector< double > &q) const |
| edge conditions More... | |
| void | source_fn (const DenseVector< double > &x, const DenseVector< double > &q, DenseVector< double > &r) const |
Public Member Functions inherited from CppNoddy::TwoD_Hyperbolic_System | |
| 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 | |
Protected Attributes inherited from CppNoddy::TwoD_Hyperbolic_System | |
| const unsigned | ORDER_OF_SYSTEM |
| The order of the system of equations. More... | |
Define the system.
Definition at line 39 of file HYP2DShallowSource.cpp.
|
inline |
One dimemsional constant coefft acoustic problem.
Definition at line 45 of file HYP2DShallowSource.cpp.
|
inlinevirtual |
edge conditions
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 102 of file HYP2DShallowSource.cpp.
References h, hu, and CppNoddy::DenseVector< _Type >::size().
|
inlinevirtual |
Define the vector flux.
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 49 of file HYP2DShallowSource.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 56 of file HYP2DShallowSource.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 64 of file HYP2DShallowSource.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 76 of file HYP2DShallowSource.cpp.
References CppNoddy::Example::g(), h, hu, and hv.
|
inlinevirtual |
Bound the wave speed.
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 89 of file HYP2DShallowSource.cpp.
|
inlinevirtual |
Reimplemented from CppNoddy::TwoD_Hyperbolic_System.
Definition at line 119 of file HYP2DShallowSource.cpp.
References CppNoddy::Example::delta(), CppNoddy::Example::g(), h, hu, hv, and CppNoddy::Example::z().
1.9.5
© 2012
R.E. Hewitt