Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sreekanth Arikatla
iMSTK
Commits
15eecce8
Commit
15eecce8
authored
Aug 01, 2017
by
Sreekanth Arikatla
Browse files
ENH: Remove initialize calls from application code
parent
d0d2668d
Pipeline
#66840
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Examples/Sandbox/main.cpp
View file @
15eecce8
...
...
@@ -1213,7 +1213,7 @@ void testDeformableBody()
deformableObj
->
setPhysicsGeometry
(
volTetMesh
);
deformableObj
->
setPhysicsToVisualMap
(
oneToOneNodalMap
);
//assign the computed map
deformableObj
->
setDynamicalModel
(
dynaModel
);
deformableObj
->
initialize
();
//
deformableObj->initialize();
scene
->
addSceneObject
(
deformableObj
);
// f. Scene object 2: Plane
...
...
@@ -2603,7 +2603,7 @@ void testDeformableBodyCollision()
deformableObj
->
setPhysicsGeometry
(
volTetMesh
);
deformableObj
->
setPhysicsToVisualMap
(
oneToOneNodalMap
);
deformableObj
->
setDynamicalModel
(
dynaModel
);
deformableObj
->
initialize
();
//
deformableObj->initialize();
scene
->
addSceneObject
(
deformableObj
);
// Create a nonlinear system and solver
...
...
@@ -2707,7 +2707,7 @@ void liverToolInteraction()
deformableObj
->
setPhysicsGeometry
(
volTetMesh
);
deformableObj
->
setPhysicsToVisualMap
(
oneToOneNodalMap
);
deformableObj
->
setDynamicalModel
(
dynaModel
);
deformableObj
->
initialize
();
//
deformableObj->initialize();
scene
->
addSceneObject
(
deformableObj
);
//----------------------------------------------------------
...
...
@@ -2996,7 +2996,7 @@ void testPicking()
physicsObj
->
setPhysicsGeometry
(
volTetMesh
);
physicsObj
->
setPhysicsToVisualMap
(
oneToOneNodalMap
);
physicsObj
->
setDynamicalModel
(
dynaModel
);
physicsObj
->
initialize
();
//
physicsObj->initialize();
scene
->
addSceneObject
(
physicsObj
);
//----------------------------------------------------------
...
...
@@ -3268,7 +3268,7 @@ int main()
//testPbdCollision();
testPbdFluidBenchmarking
();
testPbdFluid
();
//
testDeformableBody();
testDeformableBody
();
//testDeformableBodyCollision();
//liverToolInteraction();
//testPicking();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment