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
94794cee91
Added acVertexBufferSet in the utils interface
2020-08-24 14:29:01 +03: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
764e4dda69
Streamlined verification
2020-08-21 20:11:25 +03:00
jpekkila
3afab77533
Removed astaroth_utils from astaroth_core dependencies
2020-07-29 19:58:21 +03:00
jpekkila
e764725564
acUpdateBuiltinParams now recalculates AC_inv_dsx and others if necessary
2020-06-26 09:54:17 +03:00
jpekkila
196edac46d
Added proper casts to modelsolver.c
2020-06-24 17:03:54 +03:00
jpekkila
ff1a601f85
Merged mpi-to-master-merge-candidate-2020-06-01 here
2020-06-24 16:08:14 +03:00
jpekkila
0d1c5b3911
Autoformatted
2020-06-24 15:56:30 +03:00
jpekkila
3c3b2a1885
Reverted the default settings to what they were before merge. Note: LFORCING (1) is potentially not tested properly, TODO recheck.
2020-06-24 15:35:19 +03:00
Oskar Lappi
9e5fd40838
Changes after code review by Johannes, and clang-format
2020-06-04 18:50:22 +03:00
Oskar Lappi
f7d8de75d2
Reduction test pipeline added to mpitest, Error struct changed: new label field
...
- CHANGED: Error struct has a new label field for labeling an error
- The label is what is printed to screen
- vtxbuf name lookup moved out of printErrorToScreen/print_error_to_screen
- NEW: acScalReductionTestCase and acVecReductionTestCase
- Define new test cases by adding them to a list in samples/mpitest/main.cc:main
- Minor style change in verification.c to make all Verification functions similar
and fit one screen
2020-06-04 15:10:35 +03:00
jpekkila
226de32651
Added model solution for reductions and functions for automated testing
2020-06-03 13:37:00 +03:00
jpekkila
0d80834619
Disabled forcing and upwinding for performance tests. Set default grid size to 512^3. Set default cmake params s.t. benchmarks can be reproduced out-of-the-box.
2020-06-02 14:09:00 +03:00
jpekkila
db120c129e
Modelsolver computes now any built-in parameters automatically instead of relying on the user to supply them (inv_dsx etc)
2020-03-26 14:59:07 +02:00
jpekkila
ef63813679
Explicit check that critical parameters like inv_dsx are properly initialized before calling integration
2020-03-24 17:01:24 +02:00
jpekkila
8c362b44f0
Added more warning in case some of the model solver parameters are not initialized
2020-03-24 16:56:30 +02:00
jpekkila
3adb0242a4
src/utils is now a real library. Includable with the astaroth_utils.h header and linkable with libastaroth_utils.a. The purpose of Astaroth Utils is to function as a generic utility library in contrast to Astaroth Standalone which is essentially hardcoded only for MHD.
2020-01-23 20:02:38 +02:00
jpekkila
5e1500fe97
Happy new year! :)
2020-01-13 21:38:07 +02:00
jpekkila
35b56029cf
Build failed with single-precision, added the correct casts to modelsolver.c
2019-12-21 13:21:56 +02:00
jpekkila
4d873caf38
Changed utils CMakeList.txt to modern cmake style
2019-12-21 13:16:08 +02:00
jpekkila
8bd81db63c
Added CPU parallelization to make CPU integration and boundconds faster
2019-12-14 15:45:42 +02:00
jpekkila
277905aafb
Added a model integrator to the utility library (written in pure C). Requires support for AVX vector instructions.
2019-12-14 07:34:33 +02:00
jpekkila
22a3105068
Finished the latest version of autotesting (utility library). Uses ulps to determine the acceptable error instead of the relative error used previously
2019-12-14 07:27:11 +02:00
jpekkila
5ec2f6ad75
Better wording in config_loader.c
2019-12-14 07:23:25 +02:00
jpekkila
6e63411170
Moved the definition of AC_DEFAULT_CONFIG to the root-level CMakeLists.txt. Now should be visible throughout the project.
2019-12-03 18:42:49 +02:00
jpekkila
e0a631d81a
Added the hires timer to utils
2019-10-17 17:43:34 +03:00
jpekkila
7390d53f79
Added missing extern Cs to verification.h
2019-10-17 14:41:13 +03:00
jpekkila
bb9e65a741
AC_DEFAULT_CONFIG now propagated to projects that link to astaroth utils
2019-10-17 13:05:17 +03:00
jpekkila
b11ef143eb
Moved a debug print further to reduce clutter
2019-10-15 17:38:29 +03:00
jpekkila
fd9dc7ca98
Added periodic boundconds to utils
2019-10-15 17:37:57 +03:00
jpekkila
ff1ad37047
Some small improvements to the utils library
2019-10-15 17:00:58 +03:00
jpekkila
4ae9c74d9d
Added a function for randomizing vertex buffers (useful for testing)
2019-10-15 16:13:11 +03:00
jpekkila
37171689c8
Formatting
2019-10-15 16:12:44 +03:00
jpekkila
8d86ac6f9e
Started preparing the MPI version for benchmarks and added a solve-independent version of the verification functions to the utils library
2019-10-15 15:54:15 +03:00
jpekkila
ee4ff730f6
Deprecated inv_dsx and friends from utils/config_loader.c since those are not defined in the case where the user does not include stdderiv.h
2019-10-07 17:01:21 +03:00
jpekkila
20c2069231
Made the utility library more consistent with the core library
2019-10-01 15:45:56 +03:00
jpekkila
5a45fe11a8
Added the utility library itself (linked with target astaroth_utils)
2019-10-01 15:23:39 +03:00