ENH: Clean and refactor the penalty method.
Add an alias for a matrix map. Create a templated method in the MeshModel and IOMesh to automatically cast the underlying mesh. Create an interpolate() method in the VegaVolumetricMesh class to interpolate surface of the underlying volumetric mesh with an external surface mesh and clean up the interface. Create a computeGravity() method in the VegaVolumetricMesh class to compute gravity forces. Refactor getVelocity() method in DeformableSceneObject and add a variable to hold the gravity vector. Refactor SceneObject. Add SceneModelRenderDelegate render delegate to take care of renderign operations for this model. Create visual, physics and collision model variables. Remove render delegates from the StaticSceneObject, this is now handled by it base class. Add storage for the gravity force in VegaFEMDeformableSceneObject and initialized properly. Compute internal force by multiplying K*positions instead of calling the vega function. Refactor DefaultSimulator, VegaFEMModelSimulator. This class will be marked obsolete soon.
Showing
- ContactHandling/PenaltyContactFemToStatic.cpp 29 additions, 0 deletionsContactHandling/PenaltyContactFemToStatic.cpp
- ContactHandling/PenaltyContactFemToStatic.h 1 addition, 27 deletionsContactHandling/PenaltyContactFemToStatic.h
- ContactHandling/PenaltyContactHandling.cpp 4 additions, 4 deletionsContactHandling/PenaltyContactHandling.cpp
- Core/Vector.h 2 additions, 2 deletionsCore/Vector.h
- Geometry/MeshModel.h 10 additions, 1 deletionGeometry/MeshModel.h
- IO/IOMesh.h 9 additions, 0 deletionsIO/IOMesh.h
- Mesh/VegaVolumetricMesh.cpp 129 additions, 45 deletionsMesh/VegaVolumetricMesh.cpp
- Mesh/VegaVolumetricMesh.h 21 additions, 2 deletionsMesh/VegaVolumetricMesh.h
- SceneModels/DeformableSceneObject.cpp 25 additions, 5 deletionsSceneModels/DeformableSceneObject.cpp
- SceneModels/DeformableSceneObject.h 14 additions, 7 deletionsSceneModels/DeformableSceneObject.h
- SceneModels/SceneObject.cpp 43 additions, 4 deletionsSceneModels/SceneObject.cpp
- SceneModels/SceneObject.h 39 additions, 6 deletionsSceneModels/SceneObject.h
- SceneModels/StaticSceneObject.cpp 0 additions, 4 deletionsSceneModels/StaticSceneObject.cpp
- SceneModels/VegaFEMDeformableSceneObject.cpp 19 additions, 9 deletionsSceneModels/VegaFEMDeformableSceneObject.cpp
- SceneModels/VegaFEMDeformableSceneObject.h 2 additions, 2 deletionsSceneModels/VegaFEMDeformableSceneObject.h
- SimulationManager/SDK.cpp 1 addition, 1 deletionSimulationManager/SDK.cpp
- Simulators/DefaultSimulator.cpp 3 additions, 12 deletionsSimulators/DefaultSimulator.cpp
- Simulators/ObjectSimulator.cpp 3 additions, 3 deletionsSimulators/ObjectSimulator.cpp
- Simulators/ObjectSimulator.h 2 additions, 3 deletionsSimulators/ObjectSimulator.h
- Simulators/VegaFEMModelSimulator.cpp 0 additions, 9 deletionsSimulators/VegaFEMModelSimulator.cpp
Loading
Please register or sign in to comment