BasicTools.Containers.MeshBase module

BasicTools.Containers.MeshBase.CheckIntegrity()[source]
class BasicTools.Containers.MeshBase.MeshBase[source]

Bases: BaseOutputObject

ComputeBoundingBox()[source]
CopyProperties(other)[source]
GenerateManufacturedOriginalIDs(offset=0)[source]

function to generate a valid originalid data

GetElementsDimensionality() int[source]

return the maximal dimension of the elements

Returns:

the max of all elements dimensionality

Return type:

int

GetElementsOfType(typename)[source]

return the element container for the typename element

GetNamesOfElemTags()[source]

return a list containing all the element tags present in the mehs

GetNodalTag(tagName)[source]
GetNumberOfNodes()[source]
IsConstantRectilinear()[source]
IsRectilinear()[source]
IsStructured()[source]
IsUnstructured()[source]
PrepareForOutput()[source]
WithModification()[source]
elemFields

Metadata this is just a dictionary that can be used to transport information with the mesh, please use the class name as key of the object using/setting the information