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.
Namespaces | Typedefs | Functions
add_strategies_to_python.cpp File Reference
#include "includes/define_python.h"
#include "python/add_strategies_to_python.h"
#include "includes/model_part.h"
#include "spaces/ublas_space.h"
#include "includes/ublas_complex_interface.h"
#include "utilities/variable_utils.h"
#include "solving_strategies/strategies/solving_strategy.h"
#include "solving_strategies/strategies/implicit_solving_strategy.h"
#include "solving_strategies/strategies/explicit_solving_strategy.h"
#include "solving_strategies/strategies/explicit_solving_strategy_runge_kutta.h"
#include "solving_strategies/strategies/explicit_solving_strategy_bfecc.h"
#include "solving_strategies/strategies/residualbased_linear_strategy.h"
#include "solving_strategies/strategies/residualbased_newton_raphson_strategy.h"
#include "solving_strategies/strategies/adaptive_residualbased_newton_raphson_strategy.h"
#include "solving_strategies/strategies/line_search_strategy.h"
#include "solving_strategies/strategies/arc_length_strategy.h"
#include "solving_strategies/schemes/scheme.h"
#include "solving_strategies/schemes/residualbased_incrementalupdate_static_scheme.h"
#include "solving_strategies/schemes/residualbased_incrementalupdate_static_scheme_slip.h"
#include "solving_strategies/schemes/residual_based_bossak_displacement_scheme.hpp"
#include "solving_strategies/schemes/residual_based_newmark_displacement_scheme.hpp"
#include "solving_strategies/schemes/residual_based_pseudo_static_displacement_scheme.h"
#include "solving_strategies/schemes/residual_based_bdf_displacement_scheme.h"
#include "solving_strategies/schemes/residual_based_bdf_custom_scheme.h"
#include "solving_strategies/schemes/residual_based_adjoint_static_scheme.h"
#include "solving_strategies/schemes/residual_based_adjoint_steady_scheme.h"
#include "solving_strategies/schemes/residual_based_adjoint_bossak_scheme.h"
#include "solving_strategies/schemes/sensitivity_builder_scheme.h"
#include "solving_strategies/convergencecriterias/convergence_criteria.h"
#include "solving_strategies/convergencecriterias/displacement_criteria.h"
#include "solving_strategies/convergencecriterias/residual_criteria.h"
#include "solving_strategies/convergencecriterias/and_criteria.h"
#include "solving_strategies/convergencecriterias/or_criteria.h"
#include "solving_strategies/convergencecriterias/mixed_generic_criteria.h"
#include "solving_strategies/builder_and_solvers/builder_and_solver.h"
#include "solving_strategies/builder_and_solvers/explicit_builder.h"
#include "solving_strategies/builder_and_solvers/residualbased_elimination_builder_and_solver.h"
#include "solving_strategies/builder_and_solvers/residualbased_elimination_builder_and_solver_with_constraints.h"
#include "solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver.h"
#include "solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver_with_lagrange_multiplier.h"
#include "linear_solvers/linear_solver.h"
Include dependency graph for add_strategies_to_python.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::Python
 

Typedefs

typedef UblasSpace< std::complex< double >, ComplexCompressedMatrix, boost::numeric::ublas::vector< std::complex< double > > > Kratos::Python::ComplexSparseSpaceType
 

Functions

double Kratos::Python::Dot (SparseSpaceType &dummy, SparseSpaceType::VectorType &rX, SparseSpaceType::VectorType &rY)
 
template<typename TSpaceType >
void Kratos::Python::ScaleAndAdd (TSpaceType &dummy, const double A, const typename TSpaceType::VectorType &rX, const double B, typename TSpaceType::VectorType &rY)
 
template<typename TSpaceType >
void Kratos::Python::Mult (TSpaceType &dummy, typename TSpaceType::MatrixType &rA, typename TSpaceType::VectorType &rX, typename TSpaceType::VectorType &rY)
 
void Kratos::Python::TransposeMult (SparseSpaceType &dummy, SparseSpaceType::MatrixType &rA, SparseSpaceType::VectorType &rX, SparseSpaceType::VectorType &rY)
 
template<typename TSpaceType >
TSpaceType::IndexType Kratos::Python::Size (TSpaceType &dummy, typename TSpaceType::VectorType const &rV)
 
template<typename TSpaceType >
TSpaceType::IndexType Kratos::Python::Size1 (TSpaceType &dummy, typename TSpaceType::MatrixType const &rM)
 
template<typename TSpaceType >
TSpaceType::IndexType Kratos::Python::Size2 (TSpaceType &dummy, typename TSpaceType::MatrixType const &rM)
 
template<typename TSpaceType >
void Kratos::Python::ResizeMatrix (TSpaceType &dummy, typename TSpaceType::MatrixType &A, unsigned int i1, unsigned int i2)
 
template<typename TSpaceType >
void Kratos::Python::ResizeVector (TSpaceType &dummy, typename TSpaceType::VectorType &x, unsigned int i1)
 
template<typename TSpaceType >
void Kratos::Python::SetToZeroMatrix (TSpaceType &dummy, typename TSpaceType::MatrixType &A)
 
template<typename TSpaceType >
void Kratos::Python::SetToZeroVector (TSpaceType &dummy, typename TSpaceType::VectorType &x)
 
template<typename TSpaceType >
void Kratos::Python::ClearMatrix (TSpaceType &dummy, typename TSpaceType::MatrixPointerType &A)
 
template<typename TSpaceType >
void Kratos::Python::ClearVector (TSpaceType &dummy, typename TSpaceType::VectorPointerType &x)
 
double Kratos::Python::TwoNorm (SparseSpaceType &dummy, SparseSpaceType::VectorType &x)
 
template<typename TSpaceType >
void Kratos::Python::UnaliasedAdd (TSpaceType &dummy, typename TSpaceType::VectorType &x, const double A, const typename TSpaceType::VectorType &rY)
 
void Kratos::Python::MoveMesh (Scheme< SparseSpaceType, LocalSpaceType > &dummy, ModelPart::NodesContainerType &rNodes)
 
template<typename TSpaceType >
TSpaceType::MatrixPointerType Kratos::Python::CreateEmptyMatrixPointer (TSpaceType &dummy)
 
template<typename TSpaceType >
TSpaceType::VectorPointerType Kratos::Python::CreateEmptyVectorPointer (TSpaceType &dummy)
 
CompressedMatrix & Kratos::Python::GetMatRef (Kratos::shared_ptr< CompressedMatrix > &dummy)
 
Vector & Kratos::Python::GetVecRef (Kratos::shared_ptr< Vector > &dummy)
 
template<typename TSpaceType >
py::class_< TSpaceType > Kratos::Python::CreateSpaceInterface (pybind11::module &m, std::string Name)
 
void Kratos::Python::AddStrategiesToPython (pybind11::module &m)