bubble-dynamics

Spherical bubble dynamics simulator
git clone https://git.0xfab.ch/bubble-dynamics.git
Log | Files | Refs | README | LICENSE

commit 9a1712de64378600332bfc1f5ed3b7543a686c61
parent 785d029a44b8db5f6f13359d7bbd4b0f82ac7bec
Author: Fabian Wermelinger <fabianw@mavt.ethz.ch>
Date:   Sun, 11 Jun 2017 12:23:54 -0700

updated vector type to use LightVector's

Diffstat:
Mexamples/bremond2006/bremond.conf | 14+++++++-------
Msrc/bubbleDynamics.cpp | 4++--
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/examples/bremond2006/bremond.conf b/examples/bremond2006/bremond.conf @@ -6,17 +6,17 @@ # case selection dynamics kmcluster -binary true +# binary true # time stepper settings ts rkv56 -ts_tend 2.5e-5 -ts_dt 1.0e-9 -ts_dtDump 5.0e-9 +ts_tend 45.0e-6 +ts_dt 0.05e-6 +ts_dtDump 0.001e-6 ts_reportGranularity 5000 -ts_maxLocalError 1.0e-7 -ts_rTol 1.0e-5 -ts_aTol 1.0e-5 +ts_maxLocalError 1.0e-2 +ts_rTol 1.0e-3 +ts_aTol 1.0e-3 # bubble settings N 37 diff --git a/src/bubbleDynamics.cpp b/src/bubbleDynamics.cpp @@ -119,10 +119,10 @@ int main(int argc, const char** argv) // set up solution vector #if (_POS_STATE_ && _USE_EIGEN_) typedef State<Real,8> State8; - using vec_t = StateVector<State8>; + using vec_t = LightVector<State8>; #else typedef State<Real,2> State2; - using vec_t = StateVector<State2>; + using vec_t = LightVector<State2>; #endif vec_t U(simConfig.Nbubbles);