forked from KratosMultiphysics/Kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request KratosMultiphysics#813 from KratosMultiphysics/fea…
…ture-adding-eigensolver-factory-correcting-eigen-solvers Correcting and improving eigen solvers. Adding a eigen_solver_factory
- Loading branch information
Showing
21 changed files
with
2,068 additions
and
734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
269 changes: 83 additions & 186 deletions
269
applications/ExternalSolversApplication/external_includes/feast_solver.h
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// | / | | ||
// ' / __| _` | __| _ \ __| | ||
// . \ | ( | | ( |\__ ` | ||
// _|\_\_| \__,_|\__|\___/ ____/ | ||
// Multi-Physics | ||
// | ||
// License: BSD License | ||
// Kratos default license: kratos/license.txt | ||
// | ||
// Main authors: Michael Andre | ||
// | ||
|
||
#if !defined(KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED ) | ||
#define KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED | ||
|
||
// System includes | ||
#include <string> | ||
#include <iostream> | ||
|
||
// External includes | ||
#include <boost/numeric/ublas/vector.hpp> | ||
#include <boost/numeric/ublas/vector_proxy.hpp> | ||
#include <boost/numeric/ublas/vector_sparse.hpp> | ||
#include <boost/numeric/ublas/vector_expression.hpp> | ||
#include <boost/numeric/ublas/matrix.hpp> | ||
#include <boost/numeric/ublas/matrix_sparse.hpp> | ||
#include <boost/numeric/ublas/matrix_proxy.hpp> | ||
#include <boost/numeric/ublas/symmetric.hpp> | ||
#include <boost/numeric/ublas/hermitian.hpp> | ||
#include <boost/numeric/ublas/banded.hpp> | ||
#include <boost/numeric/ublas/triangular.hpp> | ||
#include <boost/numeric/ublas/io.hpp> | ||
#include <boost/numeric/ublas/operation.hpp> | ||
#include <boost/numeric/ublas/lu.hpp> | ||
#include <boost/numeric/ublas/operation_sparse.hpp> | ||
|
||
// Project includes | ||
#include "includes/define.h" | ||
|
||
namespace Kratos | ||
{ | ||
|
||
///@name Type Definitions | ||
///@{ | ||
|
||
using namespace boost::numeric::ublas; | ||
|
||
typedef boost::numeric::ublas::vector<std::complex<double>> ComplexVector; | ||
typedef unit_vector<std::complex<double>> ComplexUnitVector; | ||
typedef zero_vector<std::complex<double>> ComplexZeroVector; | ||
typedef scalar_vector<std::complex<double>> ComplexScalarVector; | ||
typedef mapped_vector<std::complex<double>> ComplexSparseVector; | ||
typedef compressed_vector<std::complex<double>> ComplexCompressedVector; | ||
typedef coordinate_vector<std::complex<double>> ComplexCoordinateVector; | ||
typedef vector_range<ComplexVector> ComplexVectorRange; | ||
typedef vector_slice<ComplexVector> ComplexVectorSlice; | ||
typedef matrix<std::complex<double>> ComplexMatrix; | ||
typedef identity_matrix<std::complex<double>> ComplexIdentityMatrix; | ||
typedef zero_matrix<std::complex<double>> ComplexZeroMatrix; | ||
typedef scalar_matrix<std::complex<double>> ComplexScalarMatrix; | ||
typedef triangular_matrix<std::complex<double>> ComplexTriangularMatrix; | ||
typedef symmetric_matrix<std::complex<double>> ComplexSymmetricMatrix; | ||
typedef hermitian_matrix<std::complex<double>> ComplexHermitianMatrix; | ||
typedef banded_matrix<std::complex<double>> ComplexBandedMatrix; | ||
typedef mapped_matrix<std::complex<double>> ComplexSparseMatrix; | ||
typedef compressed_matrix<std::complex<double>> ComplexCompressedMatrix; | ||
typedef coordinate_matrix<std::complex<double>> ComplexCoordinateMatrix; | ||
typedef matrix_row<ComplexMatrix> ComplexMatrixRow; | ||
typedef matrix_column<ComplexMatrix> ComplexMatrixColumn; | ||
typedef matrix_vector_range<ComplexMatrix> ComplexMatrixVectorRange; | ||
typedef matrix_vector_slice<ComplexMatrix> ComplexMatrixVectorSlice; | ||
typedef matrix_range<ComplexMatrix> ComplexMatrixRange; | ||
typedef matrix_slice<ComplexMatrix> ComplexMatrixSlice; | ||
|
||
///@} | ||
|
||
} // namespace Kratos. | ||
|
||
#endif // KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.