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 Member Functions | Public Attributes | List of all members
gid_mesh_to_mdpa.GidMeshConverter Class Reference

very simple function to parse a Gid mesh file and extract nodal coordinates and tetrahedra connectivity More...

Collaboration diagram for gid_mesh_to_mdpa.GidMeshConverter:

Public Member Functions

def __init__ (self, inputfilename, outputfilename)
 
def ReadAndWriteResult (self, resfile, varname)
 
def Read (self)
 
def ReadWords (self, line)
 
def ReadNodes (self)
 
def ReadResult (self, inputfile, varname)
 
def ReadElements (self)
 
def WritePropertyBlock (self, property_id)
 
def WriteNodes (self)
 
def WriteTetras (self, property_id, elementname)
 

Public Attributes

 input_file
 
 out_file
 
 coordinates
 
 NodeIds
 
 TetraIds
 
 TetraConnectivity
 
 TriangleIds
 
 TriangleConnectivity
 

Detailed Description

very simple function to parse a Gid mesh file and extract nodal coordinates and tetrahedra connectivity

Constructor & Destructor Documentation

◆ __init__()

def gid_mesh_to_mdpa.GidMeshConverter.__init__ (   self,
  inputfilename,
  outputfilename 
)

Member Function Documentation

◆ Read()

def gid_mesh_to_mdpa.GidMeshConverter.Read (   self)

◆ ReadAndWriteResult()

def gid_mesh_to_mdpa.GidMeshConverter.ReadAndWriteResult (   self,
  resfile,
  varname 
)

◆ ReadElements()

def gid_mesh_to_mdpa.GidMeshConverter.ReadElements (   self)

◆ ReadNodes()

def gid_mesh_to_mdpa.GidMeshConverter.ReadNodes (   self)

◆ ReadResult()

def gid_mesh_to_mdpa.GidMeshConverter.ReadResult (   self,
  inputfile,
  varname 
)

◆ ReadWords()

def gid_mesh_to_mdpa.GidMeshConverter.ReadWords (   self,
  line 
)

◆ WriteNodes()

def gid_mesh_to_mdpa.GidMeshConverter.WriteNodes (   self)

◆ WritePropertyBlock()

def gid_mesh_to_mdpa.GidMeshConverter.WritePropertyBlock (   self,
  property_id 
)

◆ WriteTetras()

def gid_mesh_to_mdpa.GidMeshConverter.WriteTetras (   self,
  property_id,
  elementname 
)

Member Data Documentation

◆ coordinates

gid_mesh_to_mdpa.GidMeshConverter.coordinates

◆ input_file

gid_mesh_to_mdpa.GidMeshConverter.input_file

◆ NodeIds

gid_mesh_to_mdpa.GidMeshConverter.NodeIds

◆ out_file

gid_mesh_to_mdpa.GidMeshConverter.out_file

◆ TetraConnectivity

gid_mesh_to_mdpa.GidMeshConverter.TetraConnectivity

◆ TetraIds

gid_mesh_to_mdpa.GidMeshConverter.TetraIds

◆ TriangleConnectivity

gid_mesh_to_mdpa.GidMeshConverter.TriangleConnectivity

◆ TriangleIds

gid_mesh_to_mdpa.GidMeshConverter.TriangleIds

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