Skip to content
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
7 changes: 3 additions & 4 deletions Common/include/grid_movement_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@

#include "geometry_structure.hpp"
#include "config_structure.hpp"
#include "matrix_structure.hpp"
#include "vector_structure.hpp"
#include "linear_solvers_structure.hpp"
#include "linear_solvers_structure_b.hpp"
#include "linear_algebra/CSysMatrix.hpp"
#include "linear_algebra/CSysVector.hpp"
#include "linear_algebra/CSysSolve.hpp"
#include "element_structure.hpp"

using namespace std;
Expand Down
1 change: 0 additions & 1 deletion Common/include/interpolation_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

#include "config_structure.hpp"
#include "geometry_structure.hpp"
#include "vector_structure.hpp"

using namespace std;

Expand Down
24 changes: 12 additions & 12 deletions Common/include/linear_algebra/CMatrixVectorProduct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#pragma once

#include "../config_structure.hpp"
#include "../vector_structure.hpp"
#include "../matrix_structure.hpp"
#include "../geometry_structure.hpp"
#include "CSysVector.hpp"
#include "CSysMatrix.hpp"

/*!
* \class CMatrixVectorProduct
Expand Down Expand Up @@ -81,15 +81,15 @@ class CSysMatrixVectorProduct : public CMatrixVectorProduct<ScalarType> {
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the product. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CSysMatrixVectorProduct();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the products
Expand All @@ -102,12 +102,12 @@ class CSysMatrixVectorProduct : public CMatrixVectorProduct<ScalarType> {
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CSysMatrixVectorProduct() {}

/*!
* \brief operator that defines the CSysMatrix-CSysVector product
* \param[in] u - CSysVector that is being multiplied by the sparse matrix
Expand All @@ -129,15 +129,15 @@ class CSysMatrixVectorProductTransposed : public CMatrixVectorProduct<ScalarType
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the product. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CSysMatrixVectorProductTransposed();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the products
Expand All @@ -150,12 +150,12 @@ class CSysMatrixVectorProductTransposed : public CMatrixVectorProduct<ScalarType
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CSysMatrixVectorProductTransposed() {}

/*!
* \brief operator that defines the CSysMatrix-CSysVector product
* \param[in] u - CSysVector that is being multiplied by the sparse matrix
Expand Down
46 changes: 23 additions & 23 deletions Common/include/linear_algebra/CPreconditioner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
* You should have received a copy of the GNU Lesser General Public
* License along with SU2. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "../config_structure.hpp"
#include "../vector_structure.hpp"
#include "../matrix_structure.hpp"
#include "../geometry_structure.hpp"
#include "CSysVector.hpp"
#include "CSysMatrix.hpp"

/*!
* \class CPreconditioner
Expand Down Expand Up @@ -72,15 +72,15 @@ class CJacobiPreconditioner : public CPreconditioner<ScalarType> {
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the preconditioner. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CJacobiPreconditioner();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the preconditioner
Expand All @@ -93,12 +93,12 @@ class CJacobiPreconditioner : public CPreconditioner<ScalarType> {
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CJacobiPreconditioner() {}

/*!
* \brief operator that defines the preconditioner operation
* \param[in] u - CSysVector that is being preconditioned
Expand All @@ -120,15 +120,15 @@ class CILUPreconditioner : public CPreconditioner<ScalarType> {
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the preconditioner. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CILUPreconditioner();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the preconditioner
Expand All @@ -141,12 +141,12 @@ class CILUPreconditioner : public CPreconditioner<ScalarType> {
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CILUPreconditioner() {}

/*!
* \brief operator that defines the preconditioner operation
* \param[in] u - CSysVector that is being preconditioned
Expand All @@ -168,15 +168,15 @@ class CLU_SGSPreconditioner : public CPreconditioner<ScalarType> {
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the preconditioner. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CLU_SGSPreconditioner();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the preconditioner
Expand All @@ -189,12 +189,12 @@ class CLU_SGSPreconditioner : public CPreconditioner<ScalarType> {
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CLU_SGSPreconditioner() {}

/*!
* \brief operator that defines the preconditioner operation
* \param[in] u - CSysVector that is being preconditioned
Expand All @@ -216,15 +216,15 @@ class CLineletPreconditioner : public CPreconditioner<ScalarType> {
CSysMatrix<ScalarType>* sparse_matrix; /*!< \brief pointer to matrix that defines the preconditioner. */
CGeometry* geometry; /*!< \brief pointer to matrix that defines the geometry. */
CConfig* config; /*!< \brief pointer to matrix that defines the config. */

/*!
* \brief Default constructor of the class
* \note This class cannot be default constructed as that would leave us with invalid pointers.
*/
CLineletPreconditioner();

public:

/*!
* \brief constructor of the class
* \param[in] matrix_ref - matrix reference that will be used to define the preconditioner
Expand All @@ -237,12 +237,12 @@ class CLineletPreconditioner : public CPreconditioner<ScalarType> {
geometry = geometry_ref;
config = config_ref;
}

/*!
* \brief destructor of the class
*/
~CLineletPreconditioner() {}

/*!
* \brief operator that defines the preconditioner operation
* \param[in] u - CSysVector that is being preconditioned
Expand Down
Loading