![]() |
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 <numeric>#include <pybind11/numpy.h>Go to the source code of this file.
Namespaces | |
| Kratos | |
| REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES. | |
| Kratos::Python | |
Typedefs | |
| template<class TDataType > | |
| using | Kratos::Python::ContiguousNumpyArray = pybind11::array_t< TDataType, pybind11::array::c_style > |
Functions | |
| template<class TDataType > | |
| pybind11::array_t< TDataType > | Kratos::Python::AllocateNumpyArray (const std::size_t NumberOfEntities, const std::vector< std::size_t > &rShape) |
| template<class TDataType > | |
| pybind11::array_t< TDataType > | Kratos::Python::MakeNumpyArray (TDataType const *pBegin, TDataType const *pEnd, const std::vector< std::size_t > &rShape) |