Class for storing the conditions from the yaml file.
More...
|
| 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.
|
|
Class for storing the conditions from the yaml file.
§ __init__()
def util.condition.ConditionFromFile.__init__ |
( |
|
self, |
|
|
|
cType, |
|
|
|
inFile, |
|
|
|
value, |
|
|
|
volume, |
|
|
|
direction, |
|
|
|
shape |
|
) |
| |
Constructor.
- Parameters
-
cType | Type of the condition, e.g. Force or Displacement |
inFile | Path to the CSV file with the respective node ids |
value | The value, which is applied |
volume | The volume of the nodes |
direction | The direction where the conditions is applied |
shape | The shape of the condition |
§ readCondition()
def util.condition.ConditionFromFile.readCondition |
( |
|
self, |
|
|
|
inFile, |
|
|
|
volume |
|
) |
| |
Reads the ids from the inFile where this condition should be applied.
- Parameters
-
inFile | File name of the CSV file with the ids of the nodes |
volume | The volume of the nodes |
- Returns
- The ids read from the inFile
The documentation for this class was generated from the following file:
- /calculs/git/peridynamics_1D/util/condition.py