Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure CVariable files #725

Merged
merged 6 commits into from
Jul 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 24 additions & 23 deletions SU2_CFD/include/numerics_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include "../../Common/include/config_structure.hpp"
#include "../../Common/include/gauss_structure.hpp"
#include "../../Common/include/element_structure.hpp"
#include "variable_structure.hpp"
#include "fluid_model.hpp"

using namespace std;

Expand Down Expand Up @@ -960,28 +960,29 @@ class CNumerics {
*/
void GetLMatrix(su2double val_soundspeed, su2double val_density, su2double **L_Matrix);

/*!
* \brief Computation of the flow Residual Jacoboan Matrix for Non Reflecting BC.
* \param[in] val_soundspeed - value of the sound speed.
* \param[in] val_density - value of the density.
* \param[out] R_c - Residual Jacoboan Matrix
* \param[out] R_c_inv- inverse of the Residual Jacoboan Matrix .
*/
void ComputeResJacobianGiles(CFluidModel *FluidModel, su2double pressure, su2double density, su2double *turboVel, su2double alphaInBC, su2double gammaInBC, su2double **R_c, su2double **R_c_inv);

/*!
* \brief Computate the inverse of a 3x3 matrix
* \param[in] matrix - the matrix to invert
* \param[out] invMatrix - inverse matrix.
*/
void InvMatrix3D(su2double **matrix, su2double **invMatrix);

/*!
* \brief Computate the inverse of a 4x4 matrix
* \param[in] matrix - the matrix to invert
* \param[out] invMatrix - inverse matrix.
*/
void InvMatrix4D(su2double **matrix, su2double **invMatrix);
/*!
* \brief Computation of the flow Residual Jacoboan Matrix for Non Reflecting BC.
* \param[in] val_soundspeed - value of the sound speed.
* \param[in] val_density - value of the density.
* \param[out] R_c - Residual Jacoboan Matrix
* \param[out] R_c_inv- inverse of the Residual Jacoboan Matrix .
*/
void ComputeResJacobianGiles(CFluidModel *FluidModel, su2double pressure, su2double density, su2double *turboVel,
su2double alphaInBC, su2double gammaInBC, su2double **R_c, su2double **R_c_inv);

/*!
* \brief Computate the inverse of a 3x3 matrix
* \param[in] matrix - the matrix to invert
* \param[out] invMatrix - inverse matrix.
*/
void InvMatrix3D(su2double **matrix, su2double **invMatrix);

/*!
* \brief Computate the inverse of a 4x4 matrix
* \param[in] matrix - the matrix to invert
* \param[out] invMatrix - inverse matrix.
*/
void InvMatrix4D(su2double **matrix, su2double **invMatrix);

/*!
* \brief Computation of the matrix R.
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/include/solver_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "task_definition.hpp"
#include "numerics_structure.hpp"
#include "sgs_model.hpp"
#include "variable_structure.hpp"
#include "variables/CVariable.hpp"
#include "../../Common/include/gauss_structure.hpp"
#include "../../Common/include/element_structure.hpp"
#include "../../Common/include/fem_geometry_structure.hpp"
Expand Down
Loading