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_geometries_to_python.cpp File Reference
#include "includes/define_python.h"
#include "geometries/point.h"
#include "includes/node.h"
#include "python/containers_interface.h"
#include "python/add_geometries_to_python.h"
#include "geometries/geometry.h"
#include "geometries/line_2d_2.h"
#include "geometries/line_2d_3.h"
#include "geometries/triangle_2d_3.h"
#include "geometries/triangle_2d_6.h"
#include "geometries/quadrilateral_2d_4.h"
#include "geometries/quadrilateral_2d_8.h"
#include "geometries/quadrilateral_2d_9.h"
#include "geometries/line_3d_2.h"
#include "geometries/line_3d_3.h"
#include "geometries/triangle_3d_3.h"
#include "geometries/triangle_3d_6.h"
#include "geometries/quadrilateral_3d_4.h"
#include "geometries/quadrilateral_3d_8.h"
#include "geometries/quadrilateral_3d_9.h"
#include "geometries/tetrahedra_3d_4.h"
#include "geometries/tetrahedra_3d_10.h"
#include "geometries/pyramid_3d_5.h"
#include "geometries/pyramid_3d_13.h"
#include "geometries/prism_3d_6.h"
#include "geometries/prism_3d_15.h"
#include "geometries/hexahedra_3d_8.h"
#include "geometries/hexahedra_3d_20.h"
#include "geometries/hexahedra_3d_27.h"
#include "geometries/nurbs_volume_geometry.h"
#include "geometries/nurbs_surface_geometry.h"
#include "geometries/nurbs_curve_geometry.h"
#include "geometries/surface_in_nurbs_volume_geometry.h"
Include dependency graph for add_geometries_to_python.cpp:

Namespaces

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

Typedefs

using Kratos::Python::IndexType = std::size_t
 
using Kratos::Python::NodeType = Node
 
using Kratos::Python::NodeContainerType = PointerVector< NodeType >
 
using Kratos::Python::GeometryType = Geometry< NodeType >
 
using Kratos::Python::PointsArrayType = typename GeometryType::PointsArrayType
 
using Kratos::Python::IntegrationPointsArrayType = typename GeometryType::IntegrationPointsArrayType
 
using Kratos::Python::GeometriesArrayType = typename GeometryType::GeometriesArrayType
 
using Kratos::Python::CoordinatesArrayType = typename Point::CoordinatesArrayType
 

Functions

const PointerVector< Node > & Kratos::Python::ConstGetPoints (GeometryType &geom)
 
PointerVector< Node > & Kratos::Python::GetPoints (GeometryType &geom)
 
void Kratos::Python::SetId1 (GeometryType &dummy, IndexType geometry_id)
 
void Kratos::Python::SetId2 (GeometryType &dummy, const std::string &geometry_name)
 
bool Kratos::Python::IsIdGeneratedFromString1 (GeometryType &dummy)
 
bool Kratos::Python::IsIdSelfAssigned1 (GeometryType &dummy)
 
void Kratos::Python::AddGeometriesToPython (pybind11::module &m)
 
Set and Calculate
template<class TDataType >
void Kratos::Python::Assign (GeometryType &dummy, const Variable< TDataType > &rVariable, TDataType Value)
 
template<class TDataType >
TDataType Kratos::Python::Calculate (GeometryType &dummy, const Variable< TDataType > &rVariable)