Skip to content

Commit

Permalink
Switched to default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinOpat committed Jul 9, 2024
1 parent 882d4f5 commit e9d872e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions simulation/app/src/main/cpp/src/native-lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ void init(std::string packageName) {
globalAppState->reader = new NetCDFReader(packageName);

//////////////////////// Double gyre regular scaling ////////////////////////
// one_day_simulation_period = 50.0f;
// globalAppState->vectorFieldHandler = new VectorFieldHandler(15, 15, 5);
// globalAppState->physics = new Physics(*(globalAppState->vectorFieldHandler), Physics::Model::particles_advection, 0.1f);
one_day_simulation_period = 50.0f;
globalAppState->vectorFieldHandler = new VectorFieldHandler(15, 15, 5);
globalAppState->physics = new Physics(*(globalAppState->vectorFieldHandler), Physics::Model::particles_advection, 0.1f);
/////////////////////////////////////////////////////////////

//////////////////////// Double gyre alternative scaling ////////////////////////
one_day_simulation_period = 10.0f;
globalAppState->vectorFieldHandler = new VectorFieldHandler(15, 15, 5, true);
globalAppState->physics = new Physics(*(globalAppState->vectorFieldHandler), Physics::Model::particles_advection, 0.02f);
// one_day_simulation_period = 10.0f;
// globalAppState->vectorFieldHandler = new VectorFieldHandler(15, 15, 5, true);
// globalAppState->physics = new Physics(*(globalAppState->vectorFieldHandler), Physics::Model::particles_advection, 0.02f);
/////////////////////////////////////////////////////////////

//////////////////////// Perlin noise ////////////////////////
Expand Down

0 comments on commit e9d872e

Please sign in to comment.