Commit Graph

934 Commits

Author SHA1 Message Date
Miikka Vaisala
8732480cd9 Added acIntegrateGBC() 2020-11-20 15:37:37 +08:00
Miikka Vaisala
efd3cc40cd Compiles without the API funtion call. 2020-11-20 14:11:14 +08:00
Miikka Vaisala
cb15668f2d Figuring out compilations. 2020-11-20 11:58:15 +08:00
Miikka Vaisala
d060e67bec Includes also 2020-10-06 18:16:24 +08:00
Miikka Vaisala
cf6b21e3ab Created separate acGridIntegrateNonperiodic()
from +acGridIntegrate() this is to avoid some potential issues with an upcoming merge by Oskar.
2020-10-06 17:49:36 +08:00
Miikka Vaisala
681035275d Draft of symmetric/antisymmetric boundary condition. 2020-09-30 14:38:27 +08:00
Miikka Vaisala
8667e2b2ec Entering kernel level 2020-09-29 18:46:41 +08:00
Miikka Vaisala
711cc4d350 Moving code in wrong place. 2020-09-29 16:36:43 +08:00
Miikka Vaisala
9386129f1b Cleaning and improving the boundary condition draft. 2020-09-29 16:31:16 +08:00
Miikka Vaisala
2f85cbba1a Last mimnnut modification before the meeting. 2020-09-21 15:54:33 +08:00
Miikka Vaisala
f33f0dab65 Merge branch 'master' into alt_bcond_2020_09 2020-09-21 15:49:10 +08:00
Miikka Vaisala
eb9090cc90 Added a helpful template script for running Astaroth simulations.
This is has been personally helpful in practical use.
2020-09-21 15:19:55 +08:00
Miikka Vaisala
1868031f1e Working on marking the active edges. 2020-09-18 17:25:34 +08:00
Miikka Vaisala
f736aa1cd1 Attemptiong to make kernels to go where they should. 2020-09-18 16:55:36 +08:00
Miikka Vaisala
67aa87731b Crafting code. Attempting to figure out the MPI domain decomposition etc. 2020-09-18 15:25:14 +08:00
Miikka Vaisala
b81180ff19 Desperate but perhaps wrongminded attempts.
Periodic boundary conditions are etched too deep inside...
2020-09-15 19:10:20 +08:00
Miikka Väisälä
8146857dd5 Merged in dignostics_2020_09 (pull request #14)
Dignostics 2020 09
2020-09-14 10:36:16 +00:00
jpekkila
d56c7ef312 Updated modelsolver to use the same induction equation as the updated DSL kernel 2020-09-14 13:28:44 +03:00
jpekkila
6d2be634d7 Simulation.cc sets LBFIELD (1) only if BFIELDX has been defined in the DSL 2020-09-14 13:27:56 +03:00
jpekkila
830b8ad179 Disabled LBFIELD by default as there are no autotests for it 2020-09-14 13:27:09 +03:00
jpekkila
784ff61436 Merge branch 'master' into dignostics_2020_09 2020-09-14 13:03:32 +03:00
Miikka Vaisala
4372a378ed Plot Alfven speeds. 2020-09-14 15:46:46 +08:00
Miikka Vaisala
66afc21162 Improved Python file reading routines. 2020-09-14 15:40:29 +08:00
Miikka Vaisala
948b16aaaa Added vidualization properties to python samples. 2020-09-14 15:19:48 +08:00
Miikka Vaisala
7f8e6f90e0 Changed default swithces. 2020-09-14 14:58:10 +08:00
Miikka Vaisala
2538271ef8 Added slightly edited notes about autotesting. 2020-09-14 11:39:01 +08:00
Miikka Vaisala
e9e247c526 NOW COMPILES. Improvements to timestepping. 2020-09-11 17:03:10 +08:00
Miikka Vaisala
66662c1603 Defines for new diagnostics. 2020-09-11 16:52:12 +08:00
Miikka Vaisala
6c0cb5e88f Diagnostic kernel addition to calculate vAfven. 2020-09-11 16:22:18 +08:00
Miikka Vaisala
94d1d053bc ReduceVecScal calls added. For Alfven speeds. 2020-09-11 15:54:53 +08:00
Miikka Vaisala
b815b62aa7 Enhanced simulation cc. Now magnetic fields diagnostics invoked if needed.
Also more exit condition so that the simulation will terminate if nan happens or timestep becomes too short.
2020-09-11 14:59:32 +08:00
Miikka Vaisala
450526b8e1 B-field calculation to the DSL file.
Still needs corresponding things elsewhere...
2020-09-11 13:23:01 +08:00
Miikka Vaisala
7848dedfbe Gauge correction to the induction equation for the sake of numerical stability.
Used in my dynamo work, but apparantly was not done to the main repo.
2020-09-11 11:58:09 +08:00
jpekkila
b7e7853b10 Added an error message if trying to load device constants without MPI 2020-08-24 19:41:53 +03:00
jpekkila
cec9a23dc0 Added a stripped down MPI version of standalone: standalone_mpi. In fact, it's more like a pure simulation module since I've dropped real-time rendering and other old parts that do not work with MPI without heavy modifications. The most important functionalities in addition to simulation have already been adapted to work with MPI (samples/benchmark and samples/mpi) so there's no need to re-create them in standalone_mpi. The current version of standalone_mpi is able to run a basic simulation and I get an agreement with non-mpi and mpi versions after 100 timesteps. There's also draft that's a direct adaptation of what's currently in standalone/simulation.cc (it should be 100% equivalent), but it's currently commented out as I haven't done extensive tests with it. 2020-08-24 19:03:03 +03:00
jpekkila
f21c6a8c0b Disabled LFORCING and LUPWD temporarily until the new MPI standalone module is properly tested 2020-08-24 18:46:38 +03:00
jpekkila
4052120f52 dt wasn't propagated properly to all GPUs when computing integration steps, fixed 2020-08-24 18:33:54 +03:00
jpekkila
e1dd8df988 Re-enabled warnings about invalid device constants if AC_VERBOSE=OFF 2020-08-24 17:20:35 +03:00
jpekkila
8199ff914f Added acGridLoadScalarUniform and acGridLoadVectorUniform functions for loading specific device constants with MPI 2020-08-24 17:19:02 +03:00
jpekkila
94794cee91 Added acVertexBufferSet in the utils interface 2020-08-24 14:29:01 +03:00
jpekkila
ed875b1e7e README.md edited online with Bitbucket 2020-08-21 18:29:51 +00:00
jpekkila
22367c0aab bitbucket-pipelines.yml edited online with Bitbucket 2020-08-21 18:24:06 +00:00
jpekkila
d966afe830 Added VERBOSE CMake option and made various prints optional to clean the output. VERBOSE is by off by default, pass cmake -DVERBOSE=ON to re-enable various non-critical warning and status prints (important warnings are still visible regardless of the flag). 2020-08-21 21:19:42 +03:00
jpekkila
9f676a6d5d Fixed some stupid logic when loading uniforms 2020-08-21 20:23:50 +03:00
jpekkila
764e4dda69 Streamlined verification 2020-08-21 20:11:25 +03:00
jpekkila
b847b67805 Disabled building some old samples that are not used or have very specific use cases: genbenchmarkscripts, mpi_reduce_bench, bwtest. Functionality of mpi_reduce_bench should be merged into samples/benchmark when tuning becomes relevant 2020-08-21 19:08:50 +03:00
jpekkila
8c28aacf96 Reduction types are now generated in a same fashion as vertexbuffer handles and others 2020-08-21 19:05:01 +03:00
jpekkila
56273433fe Fixed inconsistency in the acGridLoad parameter order 2020-08-21 14:40:11 +03:00
jpekkila
f2cb9e1dc1 Merged in decoupled-standalone-from-core-2020-08-19 (pull request #13)
Decoupled standalone from core 2020 08 19
2020-08-21 03:06:31 +00:00
jpekkila
c4d6c0ae46 Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 2020-08-20 15:01:47 +03:00