Commit Graph

967 Commits

Author SHA1 Message Date
Carl Pearson
fc03675d61 add gaussian explosion code 2021-03-24 16:45:05 -06:00
jpekkila
5cdedc29dc Removed AVX dependency from the core library (astaroth_core). Astaroth utils (astaroth_utils) still requires it though because the model CPU solver uses vectorization. 2021-02-17 13:07:16 +02:00
jpekkila
f697b53b01 Auto-format of astaroth.h 2021-02-07 19:53:49 +02:00
Miikka Vaisala
2dbf703c59 Filed line integration and other smaller python tools. 2021-01-11 11:27:12 +08:00
jpekkila
7878811820 Merged in host-layer-renaming-2020-11-24 (pull request #17)
Renaming host layer functions and introducing acSetVertexBuffer

Approved-by: Miikka Väisälä <mvaisala@asiaa.sinica.edu.tw>
2020-11-25 03:37:40 +00:00
jpekkila
5df695b4b1 Merge branch 'master' into host-layer-renaming-2020-11-24 2020-11-24 22:00:30 +02:00
jpekkila
5a29543727 Merge branch 'alt_bcond_2020_09'
8503947 did not get merged for some reason, fixed with this.
2020-11-24 21:59:09 +02:00
jpekkila
b6bb53a75c Missed some renamings 2020-11-24 21:39:44 +02:00
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
jpekkila
850394760a Made strong scaling benchmark the default (was weak for some reason) 2020-11-23 12:19:16 +02: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