PeriPyDIC
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
util.condition.ConditionFromFile Class Reference

Class for storing the conditions from the yaml file. More...

Collaboration diagram for util.condition.ConditionFromFile:
Collaboration graph

Public Member Functions

def __init__ (self, cType, inFile, value, volume, direction, shape)
 Constructor. More...
 
def readCondition (self, inFile, volume)
 Reads the ids from the inFile where this condition should be applied. More...
 

Public Attributes

 id
 Ids of the node where this condition is applied.
 
 type
 Type of the condition (Force or Displacement)
 
 value
 Value in Newton or Millimeter.
 
 direction
 Direction of the condition.
 
 shape
 Shape of condition.
 

Static Public Attributes

int boundary_volume = 0.
 Volume of the boundary elements.
 

Detailed Description

Class for storing the conditions from the yaml file.

Constructor & Destructor Documentation

§ __init__()

def util.condition.ConditionFromFile.__init__ (   self,
  cType,
  inFile,
  value,
  volume,
  direction,
  shape 
)

Constructor.

Parameters
cTypeType of the condition, e.g. Force or Displacement
inFilePath to the CSV file with the respective node ids
valueThe value, which is applied
volumeThe volume of the nodes
directionThe direction where the conditions is applied
shapeThe shape of the condition

Member Function Documentation

§ readCondition()

def util.condition.ConditionFromFile.readCondition (   self,
  inFile,
  volume 
)

Reads the ids from the inFile where this condition should be applied.

Parameters
inFileFile name of the CSV file with the ids of the nodes
volumeThe volume of the nodes
Returns
The ids read from the inFile

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