PeriPyDIC
Public Member Functions | Public Attributes | List of all members
IO.vis.vtk_writer Class Reference

Handles the output of the simulation results to vtk unstrucutred grids. More...

Collaboration diagram for IO.vis.vtk_writer:
Collaboration graph

Public Member Functions

def __init__ (self, path="", types="", slice_length=-1)
 Constructor. More...
 
def write_data (self, deck, problem, ccm_class)
 Writes the data to a vtk unstrucutred grid files. More...
 
def __init__ (self, path="", types="", slice_length=-1)
 Constructor. More...
 

Public Attributes

 vtk_enabled
 IS vtk enabled.
 
 path
 Path for the output.
 
 types
 Types of the attributes.
 
 slice_length
 Slice for the time steps.
 

Detailed Description

Handles the output of the simulation results to vtk unstrucutred grids.

Constructor & Destructor Documentation

§ __init__() [1/2]

def IO.vis.vtk_writer.__init__ (   self,
  path = "",
  types = "",
  slice_length = -1 
)

Constructor.

Parameters
pathThe path where the output is written
typesThe simulation attributes considered as output
slice_lengthEvery n-th time step is written

§ __init__() [2/2]

def IO.vis.vtk_writer.__init__ (   self,
  path = "",
  types = "",
  slice_length = -1 
)

Constructor.

Parameters
pathThe path where the output is written
typesThe simulation attributes considered as output
slice_lengthEvery n-th time step is written

Member Function Documentation

§ write_data()

def IO.vis.vtk_writer.write_data (   self,
  deck,
  problem,
  ccm_class 
)

Writes the data to a vtk unstrucutred grid files.

Parameters
deckThe deck with the input from the yaml file
problemThe problem contains the simulation results
ccm_classThe results from the computation from ccm

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