![]() |
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 <cad_json_output.h>
Public Member Functions | |
| KRATOS_CLASS_POINTER_DEFINITION (CadJsonOutput) | |
| Pointer definition of CadJsonOutput. More... | |
Static Public Member Functions | |
Life Cycle | |
| static void | GetCadJsonOutput (ModelPart &rModelPart, std::string &rGeometryFile, SizeType EchoLevel=0) |
| Constructor with path to input file. More... | |
Python exposed Functions | |
| static void | GetParameters (ModelPart &rModelPart, Parameters &rCadGeometry, IndexType EchoLevel) |
| Adds all CAD geometries to the herin provided model_part. More... | |
| static void | GetBrepSurfaceParameters (const typename ModelPart::GeometryIterator &rGeometryIterator, Parameters &rBrepsParameters, IndexType EchoLevel) |
| Returns the paramaters/json of a specific brep_surface. More... | |
| static void | GetBoundaryLoopParameters (const BrepCurveOnSurfaceArrayType &rCurveOnSurfaceArray, Parameters &rCadGeometry, IndexType EchoLevel) |
| Returns the paramaters/json of a loop - typically from a brep_surface. More... | |
Gives output capabilities for Nurbs based Brep models in the JSON format defined in https://amses-journal.springeropen.com/articles/10.1186/s40323-018-0109-4.
| typedef DenseVector<typename BrepCurveOnSurfaceType::Pointer> Kratos::CadJsonOutput::BrepCurveOnSurfaceArrayType |
| typedef DenseVector<DenseVector<typename BrepCurveOnSurfaceType::Pointer> > Kratos::CadJsonOutput::BrepCurveOnSurfaceLoopArrayType |
| typedef DenseVector<typename BrepCurveOnSurfaceType::Pointer> Kratos::CadJsonOutput::BrepCurveOnSurfaceLoopType |
| typedef BrepCurveOnSurface<ContainerNodeType, ContainerEmbeddedNodeType> Kratos::CadJsonOutput::BrepCurveOnSurfaceType |
| typedef BrepCurve<ContainerNodeType, ContainerEmbeddedNodeType> Kratos::CadJsonOutput::BrepCurveType |
| typedef BrepSurface<ContainerNodeType, ContainerEmbeddedNodeType> Kratos::CadJsonOutput::BrepSurfaceType |
| typedef GeometryType::Pointer Kratos::CadJsonOutput::GeometryPointerType |
| typedef std::size_t Kratos::CadJsonOutput::IndexType |
| typedef Node Kratos::CadJsonOutput::NodeType |
| typedef NurbsSurfaceType::Pointer Kratos::CadJsonOutput::NurbsSurfacePointerType |
| typedef NurbsTrimmingCurveType::Pointer Kratos::CadJsonOutput::NurbsTrimmingCurvePointerType |
| typedef NurbsCurveGeometry<2, ContainerEmbeddedNodeType> Kratos::CadJsonOutput::NurbsTrimmingCurveType |
| typedef std::size_t Kratos::CadJsonOutput::SizeType |
|
static |
Returns the paramaters/json of a loop - typically from a brep_surface.
|
static |
Returns the paramaters/json of a specific brep_surface.
|
inlinestatic |
Constructor with path to input file.
|
static |
Adds all CAD geometries to the herin provided model_part.
| Kratos::CadJsonOutput::KRATOS_CLASS_POINTER_DEFINITION | ( | CadJsonOutput | ) |
Pointer definition of CadJsonOutput.