KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include "input_output/logger.h"
#include <iostream>
#include <fstream>
#include <utility>
#include <boost/range/iterator_range.hpp>
#include <boost/property_tree/json_parser.hpp>
#include "includes/define.h"
#include "includes/kratos_parameters.h"
#include "linear_solvers/iterative_solver.h"
#include "includes/ublas_interface.h"
#include "spaces/ublas_space.h"
#include <amgcl/coarsening/rigid_body_modes.hpp>
Go to the source code of this file.
Classes | |
class | Kratos::AMGCLSolver< TSparseSpaceType, TDenseSpaceType, TReordererType > |
This is a multigrid solver based on the AMGCL library. More... | |
Namespaces | |
Kratos | |
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES. | |
Macros | |
#define | AMGCL_PARAM_UNKNOWN(name) Kratos::Logger("AMGCL") << KRATOS_CODE_LOCATION << Kratos::Logger::Severity::WARNING << "Unknown parameter " << name << std::endl |
Enumerations | |
Enum's | |
enum | Kratos::AMGCLSmoother { Kratos::SPAI0 , Kratos::SPAI1 , Kratos::ILU0 , Kratos::DAMPED_JACOBI , Kratos::GAUSS_SEIDEL , Kratos::CHEBYSHEV } |
enum | Kratos::AMGCLIterativeSolverType { Kratos::LGMRES , Kratos::FGMRES , Kratos::GMRES , Kratos::BICGSTAB , Kratos::CG , Kratos::BICGSTAB_WITH_GMRES_FALLBACK , Kratos::BICGSTAB2 } |
enum | Kratos::AMGCLCoarseningType { Kratos::RUGE_STUBEN , Kratos::AGGREGATION , Kratos::SA , Kratos::SA_EMIN } |
Functions | |
Functions | |
void | Kratos::AMGCLSolve (int block_size, TUblasSparseSpace< double >::MatrixType &rA, TUblasSparseSpace< double >::VectorType &rX, TUblasSparseSpace< double >::VectorType &rB, TUblasSparseSpace< double >::IndexType &rIterationNumber, double &rResidual, boost::property_tree::ptree amgclParams, int verbosity_level, bool use_gpgpu) |
This function solves with Ublas Matrix type. More... | |
Kratos Classes | |
template<class TSparseSpaceType , class TDenseSpaceType , class TReordererType > | |
std::istream & | Kratos::operator>> (std::istream &rIStream, AMGCLSolver< TSparseSpaceType, TDenseSpaceType, TReordererType > &rThis) |
template<class TSparseSpaceType , class TDenseSpaceType , class TReordererType > | |
std::ostream & | Kratos::operator<< (std::ostream &rOStream, const AMGCLSolver< TSparseSpaceType, TDenseSpaceType, TReordererType > &rThis) |
#define AMGCL_PARAM_UNKNOWN | ( | name | ) | Kratos::Logger("AMGCL") << KRATOS_CODE_LOCATION << Kratos::Logger::Severity::WARNING << "Unknown parameter " << name << std::endl |