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.
Public Types | Public Member Functions | List of all members
Kratos::CadJsonOutput Class Reference

#include <cad_json_output.h>

Collaboration diagram for Kratos::CadJsonOutput:

Public Types

typedef std::size_t SizeType
 
typedef std::size_t IndexType
 
typedef Node NodeType
 
typedef Point EmbeddedNodeType
 
typedef Geometry< NodeTypeGeometryType
 
typedef GeometryType::Pointer GeometryPointerType
 
typedef PointerVector< NodeTypeContainerNodeType
 
typedef PointerVector< EmbeddedNodeTypeContainerEmbeddedNodeType
 
typedef CouplingGeometry< NodeTypeCouplingGeometryType
 
typedef NurbsSurfaceGeometry< 3, ContainerNodeTypeNurbsSurfaceType
 
typedef NurbsCurveGeometry< 2, ContainerEmbeddedNodeTypeNurbsTrimmingCurveType
 
typedef NurbsSurfaceType::Pointer NurbsSurfacePointerType
 
typedef NurbsTrimmingCurveType::Pointer NurbsTrimmingCurvePointerType
 
typedef BrepSurface< ContainerNodeType, ContainerEmbeddedNodeTypeBrepSurfaceType
 
typedef BrepCurveOnSurface< ContainerNodeType, ContainerEmbeddedNodeTypeBrepCurveOnSurfaceType
 
typedef BrepCurve< ContainerNodeType, ContainerEmbeddedNodeTypeBrepCurveType
 
typedef DenseVector< typename BrepCurveOnSurfaceType::Pointer > BrepCurveOnSurfaceArrayType
 
typedef DenseVector< typename BrepCurveOnSurfaceType::Pointer > BrepCurveOnSurfaceLoopType
 
typedef DenseVector< DenseVector< typename BrepCurveOnSurfaceType::Pointer > > BrepCurveOnSurfaceLoopArrayType
 

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...
 

Detailed Description

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.

Member Typedef Documentation

◆ BrepCurveOnSurfaceArrayType

typedef DenseVector<typename BrepCurveOnSurfaceType::Pointer> Kratos::CadJsonOutput::BrepCurveOnSurfaceArrayType

◆ BrepCurveOnSurfaceLoopArrayType

typedef DenseVector<DenseVector<typename BrepCurveOnSurfaceType::Pointer> > Kratos::CadJsonOutput::BrepCurveOnSurfaceLoopArrayType

◆ BrepCurveOnSurfaceLoopType

typedef DenseVector<typename BrepCurveOnSurfaceType::Pointer> Kratos::CadJsonOutput::BrepCurveOnSurfaceLoopType

◆ BrepCurveOnSurfaceType

◆ BrepCurveType

◆ BrepSurfaceType

◆ ContainerEmbeddedNodeType

◆ ContainerNodeType

◆ CouplingGeometryType

◆ EmbeddedNodeType

◆ GeometryPointerType

typedef GeometryType::Pointer Kratos::CadJsonOutput::GeometryPointerType

◆ GeometryType

◆ IndexType

typedef std::size_t Kratos::CadJsonOutput::IndexType

◆ NodeType

◆ NurbsSurfacePointerType

typedef NurbsSurfaceType::Pointer Kratos::CadJsonOutput::NurbsSurfacePointerType

◆ NurbsSurfaceType

◆ NurbsTrimmingCurvePointerType

typedef NurbsTrimmingCurveType::Pointer Kratos::CadJsonOutput::NurbsTrimmingCurvePointerType

◆ NurbsTrimmingCurveType

◆ SizeType

typedef std::size_t Kratos::CadJsonOutput::SizeType

Member Function Documentation

◆ GetBoundaryLoopParameters()

void Kratos::CadJsonOutput::GetBoundaryLoopParameters ( const BrepCurveOnSurfaceArrayType rCurveOnSurfaceArray,
Parameters rCadGeometry,
IndexType  EchoLevel 
)
static

Returns the paramaters/json of a loop - typically from a brep_surface.

◆ GetBrepSurfaceParameters()

void Kratos::CadJsonOutput::GetBrepSurfaceParameters ( const typename ModelPart::GeometryIterator rGeometryIterator,
Parameters rBrepsParameters,
IndexType  EchoLevel 
)
static

Returns the paramaters/json of a specific brep_surface.

◆ GetCadJsonOutput()

static void Kratos::CadJsonOutput::GetCadJsonOutput ( ModelPart rModelPart,
std::string &  rGeometryFile,
SizeType  EchoLevel = 0 
)
inlinestatic

Constructor with path to input file.

◆ GetParameters()

void Kratos::CadJsonOutput::GetParameters ( ModelPart rModelPart,
Parameters rCadGeometry,
IndexType  EchoLevel 
)
static

Adds all CAD geometries to the herin provided model_part.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::CadJsonOutput::KRATOS_CLASS_POINTER_DEFINITION ( CadJsonOutput  )

Pointer definition of CadJsonOutput.


The documentation for this class was generated from the following files: