change in particle insertion ctor and addition to DEMSystem

This commit is contained in:
Hamidreza Norouzi
2023-02-19 11:35:35 -08:00
parent aa4ac3372c
commit 360eda7c6c
8 changed files with 46 additions and 12 deletions

View File

@ -24,7 +24,7 @@ sphereParticles sphParticles(Control, proprties);
//
REPORT(0)<<"\nCreating particle insertion object . . ."<<endREPORT;
auto& sphInsertion =
/*auto& sphInsertion =
Control.caseSetup().emplaceObject<sphereInsertion>(
objectFile(
insertionFile__,
@ -34,9 +34,12 @@ auto& sphInsertion =
),
sphParticles,
sphParticles.shapes()
);
);*/
auto sphInsertion = sphereInsertion(
Control.caseSetup().path()+insertionFile__,
sphParticles,
sphParticles.shapes());
REPORT(0)<<"\nCreating interaction model for sphere-sphere contact and sphere-wall contact . . ."<<endREPORT;
auto interactionPtr = interaction::create(