Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
StdMeshersBuilder_Prism3D Class Reference

Defines a Prism 3D algorithm, which is either "Extrusion 3D" or "Radial Prism" depending on geometry. More...

Inheritance diagram for StdMeshersBuilder_Prism3D:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def Get3DHypothesis
 Return 3D hypothesis holding the 1D one. More...
 
def OwnHypothesis
 Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis. More...
 
def NumberOfLayers
 Defines "NumberOfLayers" hypothesis, specifying the number of layers of prisms to build between the inner and outer shells. More...
 
def LocalLength
 Defines "LocalLength" hypothesis, specifying the segment length to build between the inner and the outer shells. More...
 
def NumberOfSegments
 Defines "NumberOfSegments" hypothesis, specifying the number of layers of prisms to build between the inner and the outer shells. More...
 
def Arithmetic1D
 Defines "Arithmetic1D" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in arithmetic progression. More...
 
def GeometricProgression
 Defines "GeometricProgression" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in Geometric progression. More...
 
def StartEndLength
 Defines "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and the outer shells as geometric length increasing. More...
 
def AutomaticLength
 Defines "AutomaticLength" hypothesis, specifying the number of segments to build between the inner and outer shells. More...
 

Data Fields

 algoType
 
 distribHyp
 
 nbLayers
 

Static Public Attributes

string meshMethod = "Prism"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
string algoType = "Prism_3D"
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates prism 3D algorithm for volumes"
 doc string of the method More...
 

Detailed Description

Defines a Prism 3D algorithm, which is either "Extrusion 3D" or "Radial Prism" depending on geometry.

It is created by calling smeshBuilder.Mesh.Prism(geom=0)

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

References Mesh_Algorithm.Create().

Member Function Documentation

def Arithmetic1D (   self,
  start,
  end 
)
def GeometricProgression (   self,
  start,
  ratio 
)

Defines "GeometricProgression" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in Geometric progression.

Parameters
startthe length of the first segment
ratiothe common ratio of the geometric progression

References StdMeshersBuilder_Segment.algoType, StdMeshersBuilder_CompositeSegment.algoType, StdMeshersBuilder_Segment_Python.algoType, StdMeshersBuilder_Triangle_MEFISTO.algoType, StdMeshersBuilder_Quadrangle.algoType, StdMeshersBuilder_Hexahedron.algoType, StdMeshersBuilder_Projection1D.algoType, StdMeshersBuilder_Projection2D.algoType, StdMeshersBuilder_Projection1D2D.algoType, StdMeshersBuilder_Projection3D.algoType, StdMeshersBuilder_Prism3D.algoType, and StdMeshersBuilder_Prism3D.OwnHypothesis().

def StartEndLength (   self,
  start,
  end 
)

Field Documentation

string meshMethod = "Prism"
static

name of the dynamic method in smeshBuilder.Mesh class

string algoType = "Prism_3D"
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates prism 3D algorithm for volumes"
static

doc string of the method

algoType
distribHyp
nbLayers