Commit Graph

958 Commits

Author SHA1 Message Date
jpekkila
bcacc357d3 Now all host functions start with acHost to avoid confusion on whether the function operates on host or device memory 2020-11-24 21:32:43 +02:00
jpekkila
095f863097 Added functions acSetVertexBuffer, acNodeSetVertexBuffer, and acDeviceSetVertexBuffer for setting device memory directly to some constant 2020-11-24 21:29:14 +02:00
Miikka Väisälä
d83fd173fa Merged in alt_bcond_2020_09 (pull request #16)
Alt bcond 2020 09
2020-11-23 10:24:01 +00:00
Miikka Vaisala
11eddabbd6 Merge branch 'master' into alt_bcond_2020_09 2020-11-23 15:47:46 +08:00
Miikka Vaisala
543c565e5d Dummy at the moment, but now the boundary condition kernel caller can see what vertex buffer name is in use. 2020-11-23 15:43:52 +08:00
Miikka Vaisala
2f0f6ceac2 Functioning symmetric antisymmetric boundary condition. 2020-11-23 15:19:47 +08:00
Miikka Vaisala
d4ee066b3c Periodic boundary conditions work with switchable system.
Still some issue with the custom alternatives. Need to look into kernels again.
2020-11-20 17:00:48 +08:00
Miikka Vaisala
288693fab5 Flexible boundary conditions called from simulation.cc 2020-11-20 16:31:13 +08:00
Miikka Vaisala
4add619e2f Calling boundconds compiles again. 2020-11-20 16:22:47 +08:00
Miikka Vaisala
06bacf298a Created local_boundcondstep_GBC() 2020-11-20 16:07:33 +08:00
Miikka Vaisala
f87d65408c Added acBoundcondStepGBC() for flexible boundary conditions. 2020-11-20 15:42:54 +08:00
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
e3eb782213 Sorry for the compilation problem. Corrected. 2020-11-20 11:11:54 +08:00
Miikka Väisälä
dd9dd5e8ce Merged in synch_collapse_2020_11 (pull request #15)
Synch collapse 2020 11
2020-11-19 07:19:01 +00:00
Miikka Vaisala
204f075343 AC_unit_magnetic in dsl 2020-11-19 15:14:28 +08:00
Miikka Vaisala
a463fd492f Synched simulation.cc with existing work. 2020-11-19 14:31:10 +08:00
jpekkila
f61223c02b The number of default streams is now 32 2020-11-11 13:18:29 +02:00
jpekkila
dff560561e Explicit casting during error checking 2020-11-03 10:28:58 +02:00
jpekkila
349093768d Added acMeshRandomize to astaroth.h to keep core and utils separate 2020-11-02 17:14:26 +02:00
jpekkila
d48a478254 Removed duplicate genbenchmarkscripts 2020-11-02 16:39:01 +02:00
jpekkila
00b7b537ce Modifications for master merge: reverted CMakeLists.txt to the original, disabled mixed precision by default 2020-11-02 10:58:18 +02:00
jpekkila
bf7eb83084 Updated benchmark script 2020-10-29 16:34:48 +02:00
jpekkila
ae0d4de23c The root host mesh is no longer allocated during benchmarking as this caused out-of-memory errors in weak scaling tests 2020-10-29 16:33:41 +02:00
jpekkila
0a2827593c Added very experimental implementation for mixed precision. Comm is done with f32 and comp with f64. 2020-10-28 12:56:34 +02:00
jpekkila
c1f2a6c340 Setup for benchmarks 2020-10-28 12:55:32 +02: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