Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/component/engine/VolumeFromTetrahedrons/Finger.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def createScene(rootNode):

# Add a mechanicaobject component to stores the DoFs of the model
finger.addObject('MechanicalObject', name='tetras', template='Vec3')
finger.addObject('VolumeFromTetrahedrons')
finger.addObject('VolumeFromVolumetricElements')
finger.addObject('TetrahedronFEMForceField', poissonRatio=0.3, youngModulus=500)

##########################################
Expand Down
4 changes: 2 additions & 2 deletions examples/component/engine/VolumeFromTetrahedrons/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""

The **VolumeFromTetrahedrons** component computes the volume of a given volumetric mesh (tetrahedrons or/and hexahedrons).
The **VolumeFromVolumetricElements** component computes the volume of a given volumetric mesh (tetrahedrons or/and hexahedrons).
In this directory you will find one example showing how to use the component:

- **Finger.pyscn**
Expand All @@ -22,7 +22,7 @@
finger.createObject('TetrahedronSetTopologyContainer', src='@loader', name='container')
finger.createObject('TetrahedronSetTopologyModifier')

finger.createObject('VolumeFromTetrahedrons')
finger.createObject('VolumeFromVolumetricElements')


Data fields
Expand Down
4 changes: 2 additions & 2 deletions examples/component/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
.. autosummary::
:toctree: _autosummary

VolumeFromTetrahedrons
VolumeFromVolumetricElements
VolumeFromTriangles

"""

__all__=["VolumeFromTetrahedrons","VolumeFromTriangles"]
__all__=["VolumeFromVolumetricElements","VolumeFromTriangles"]
Loading