Commit Graph

72 Commits

Author SHA1 Message Date
Miikka Vaisala
f9be905703 Corrected an unit coversion issue from forcing.
Now noticing these because of switching to gcc 8.
2019-07-08 16:43:37 +08:00
jpekkila
698d04c57d Removed a deprecated code block 2019-07-04 15:08:42 +03:00
jpekkila
609cfaea14 Commenting the unused variables in simulation.cc a few commits back was the wrong move since the variables are needed if LFORCING it set. 2019-07-03 17:46:50 +03:00
jpekkila
919d446222 Commented out unused variables in simulation.cc 2019-07-03 17:10:40 +03:00
jpekkila
59ac264743 simulation.cc autoformatting 2019-07-03 16:57:57 +03:00
Miikka Vaisala
4766441ffb Tryin to prepare autotest for forcing. 2019-07-02 18:24:41 +08:00
Miikka Vaisala
d0eb308f17 Better interface to forcing. 2019-07-02 16:35:14 +08:00
Miikka Vaisala
0600790f41 Corrected a bug in the timestep and some scaling problems.
Now I can reach a saturated stated in forcing without crashing the code.
2019-07-01 14:19:56 +08:00
Miikka Vaisala
9f0be0d9ff Solved the forcing function boundary problem. 2019-07-01 11:06:42 +08:00
Miikka Vaisala
f04ef8e64c Forcing function issue not yet fully resolved.
Now brain hurs. No more today. Break needed.
2019-06-28 19:23:18 +08:00
Miikka Vaisala
94a25383a9 Trying to calculate the forcing scaling.
Causes nans very quickly. Will need to look closer tomorrow again.
2019-06-27 19:20:18 +08:00
Miikka Vaisala
9b2e9d376f helical_forcing_k_generator() added.
Now Helical forcing almost works. I just need scale to force per tiome step
correctly. The current formulation is wrong.
2019-06-27 18:12:15 +08:00
Miikka Vaisala
fd6a5df0d6 helical_forcing_e_generator() randomized. 2019-06-27 15:59:58 +08:00
Miikka Vaisala
9ae3411cce helical_forcing_e_generator() added
Without randomization. Will add next.
2019-06-27 14:53:36 +08:00
Miikka Vaisala
76d251cd3e Makes now special helical forcing vector. 2019-06-26 18:50:42 +08:00
Miikka Vaisala
be0e46c814 Can move forcing vector information now from the host to device.
next step in to generate random waves in the CPU with a chosen degree of helicity etc.
2019-06-26 17:41:39 +08:00
Miikka Vaisala
231a8aa06e Trying to figure out how to upload values to GPU. 2019-06-26 15:23:46 +08:00
jpekkila
383d2b696c Got a warning about potentially too small array, increased size to avoid overflows 2019-06-19 16:58:24 +03:00
Miikka Vaisala
68af32b7ef Small edit to docs 2019-06-19 17:11:46 +08:00
jpekkila
8864266042 Autoformatted all CUDA/C/C++ code 2019-06-18 16:42:56 +03:00
Miikka Vaisala
528d1984fa Correcting plotting axis. 2019-06-17 16:21:05 +08:00
jpekkila
0e48766a68 Added Astaroth 2.0 2019-06-14 14:19:07 +03:00