Commit Graph

509 Commits

Author SHA1 Message Date
Arne Morten Kvarving
6784897dcc changed: use gtest_discover_tests to add unit tests to ctest
this way we can drop our own hacks
2022-05-11 15:16:13 +02:00
Arne Morten Kvarving
3f007fdec5 changed: bump minimum cmake version required
newer cmake warns that compatibility pre 3.0 will
be dropped soon
2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
bd2b2b88f6 add convection/advection variants for div-compatible 2022-03-03 10:42:56 +01:00
Arne Morten Kvarving
b467fa1ca2 added: skewsymmetric to EqualOrderOperators::Advection 2022-03-03 10:42:56 +01:00
Arne Morten Kvarving
a85e46a147 added: add ConvectionForm argument to CompatibleOperators::Advection
currently only CONVECTIVE is implemented
2022-02-18 15:00:51 +01:00
Arne Morten Kvarving
bbc3333380 changed: suppress all output in RK solver if not standalone 2022-02-16 11:52:57 +01:00
Arne Morten Kvarving
9f936b401e EqualOrderOperators: use outer_product in Convection 2022-01-27 16:28:21 +01:00
Arne Morten Kvarving
17cbd59390 EqualOrderOperators: use outer_product in Advection 2022-01-27 16:28:21 +01:00
Arne Morten Kvarving
4061249593 fixed: wrong index in CompatibleOperators::Advection 2022-01-27 14:53:46 +01:00
Arne Morten Kvarving
5413ce3539 add IFEM-CoSTA to common App build system 2021-10-11 11:43:36 +02:00
Knut Morten Okstad
35b4aa95fa Changed: AdaptiveSIM::savePoints does not need a time argument,
as this class is for static/stationary problems only. The iStep
argument is not a time step counter, but a refinement step counter.
Also, the method is made protected.
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
88bcd66794 mark some constructors explicit 2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
3e9014c8d0 make some things const where possible 2021-10-07 11:44:02 +02:00
Arne Morten Kvarving
c859e4231c fixed: use a separate valgrind log for tests with IFEM_USE_MEMCHECK
to allow parallel execution
2021-09-14 08:19:12 +02:00
Arne Morten Kvarving
4dc1171c18 changed: make failed.log updates atomic in regression tests
this to obtain a proper failed.log even if running multiple tests
in parallel
2021-09-10 11:30:06 +02:00
Arne Morten Kvarving
e73c8cf893 add IFEM-HM to jenkins and common App build system 2021-08-11 14:14:05 +02:00
Arne Morten Kvarving
db4c23da76 add SIMRA-PostProc and IFEM-THM to common app build system 2021-08-11 09:02:22 +02:00
Knut Morten Okstad
b84f2235d2 Fixed: Missing includes 2021-06-26 16:01:01 +02:00
Knut Morten Okstad
39f7653ad1 Changed: Use ScalarFunc instead of RealFunc for max iterations.
Fixed: getMaxit() should always return 0 when staggering is disabled.
Added: Method to initialize parameters from an xml-tag.
2021-06-26 16:01:01 +02:00
Arne Morten Kvarving
c6a6b42a4e add missing includes 2021-06-25 11:44:10 +02:00
Arne Morten Kvarving
59d2608b3d SIMCoupledSI: max iterations as a function of timestep 2021-06-18 13:57:59 +02:00
Arne Morten Kvarving
68e317a7dd SIMCoupledSI: add support for relaxation with optional aitken acceleration 2021-06-18 13:57:59 +02:00
Knut Morten Okstad
ee17cff565 Fixed: Account for small round-offs in start time for adaptive loop.
Changed: Ignore pre-refinement tags when mesh already is refined.
2021-06-11 10:35:54 +02:00
Knut Morten Okstad
574b2974a4 Changed: Store basis on restart file only after each mesh refinement 2021-06-11 10:35:54 +02:00
Knut Morten Okstad
428ff24a95 Changed: Made SIMsolver::[s|deS]erialize() methods virtual.
Added: Optional log message when serializing simulator state.

Fixed (temporarily): Subtract one from the restartStep argument
to HDF5Restart::readData(), to compensate for the change in the
previous commit. Consider undoing this later, and instead update
all restart regression tests specifying a restart time level.
2021-06-11 10:30:44 +02:00
Knut Morten Okstad
6f96812f0d Changed: Set time levels for restart files by incrementing a private
counter instead of calculating from time step number and stride.
The first time level will then be 0 (not 1) as for the visualization data.
Fixed: Always store geometry basis for the first time level saved.
Compare with last time step saved instead of mod'ing the time step counter
when deciding whether to save new data, in case not invoked every time step.
2021-06-11 10:30:44 +02:00
Arne Morten Kvarving
6911ae08c7 Fixed: Use separate ProcessAdm object for restart output when parallel 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
8775b4ddd0 Added: getProcessAdm() in some simulator template classes 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
6dc48a87d6 Changed: The projection method prefixes are now extracted directly
from the SIM object inside the HDF5Writer::writeSIM instead of
storing them in a class member - to ensure consistency.
Then we don't need the DataExporter::setNormPrefixes method.
2021-06-10 09:21:47 +02:00
Knut Morten Okstad
77ac8840bd Added: App-specific pre-refinement after reading the model input 2021-05-21 15:00:59 +02:00
Knut Morten Okstad
06580f66c7 Changed: Set initial time level for restart runs from previous.
The methods getTimeLevel() and getWritersTimeLevel() are then
no longer needed and removed for the sake of clarity.
Also removed unused method realTimeLevel(), which is incorrect
if used in restart runs with changed data dump stride.
Added: Optional print message when dumping results.
2021-05-10 06:25:55 +02:00
Knut Morten Okstad
802ad3c441 Added: Interface for the preprocess() method in SIMadmin.
Changed: SIMadmin::printHeading() is now public.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
05a6a068a3 Changed: Replaced getMyElementNums() by getGlobalElementNums() and
use getGlobal[Element|Node]Nums in the unit tests, for consistency.
Also use static functions instead of Lambdas in file scope.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
22f553ce4b Changed: Non-virtual SIM3D::addConstraint --> addLineConstraint.
Changed: Public method SIMinput::addConnection no longer virtual.
It now invokes the virtual method connectPatches using an ASM::Interface
object to pass the connectivity definition instead, for convenience.
Added: Offset attribute on the topology tag.
2021-02-10 09:05:50 +01:00
Arne Morten Kvarving
f6100fd9e7 changed: allow HDF5 output with lagrangian bases 2020-10-01 14:31:34 +02:00
Arne Morten Kvarving
310f8c5494 fixed: pass the correct process admin to the hdf5 writer
this matters because it holds information about the partitioning.
in particular, this is necessary to get correct results with graph
partitioning.
2020-09-28 10:15:45 +02:00
Arne Morten Kvarving
6e5f087551 fixed: wrap the multi-patch refinement in a loop
if not, neighbour patches will miss the refinements
imposed by the extended refinement domain for a patch.
2020-04-30 12:35:51 +02:00
Arne Morten Kvarving
37f683ca69 save projections in the internal adaptive solver template 2020-04-29 12:55:08 +02:00
Arne Morten Kvarving
c5f29c0b14 added: solver template for simulators with internal adaptation 2020-04-28 12:04:33 +02:00
Arne Morten Kvarving
f62f7d15bc Required changes for stationary, semi-implicit simulations 2020-04-24 10:40:00 +02:00
Arne Morten Kvarving
a64a40de09 added: save result points in AdaptiveSIM 2020-04-23 10:52:35 +02:00
Arne Morten Kvarving
00f9fd8a03 added: conservative form support in EqualOrderOperators::Weak::Advection 2020-04-16 10:56:01 +02:00
Knut Morten Okstad
c5c4f621c8 Fixed: Avoid writing unnecessary restart file in restart regression tests 2020-03-05 15:06:34 +01:00
Knut Morten Okstad
35873f6e97 Changed: Removed need for a dummy integrand in some unit tests 2019-11-24 07:06:38 +01:00
Arne Morten Kvarving
44c9a5a7be added: support for implicit LMM methods 2019-11-04 13:01:20 +01:00
Arne Morten Kvarving
1bdfec61cd fixed: missing AB1 support 2019-11-04 13:01:20 +01:00
Arne Morten Kvarving
a02a9a0251 added: support for explicit linear multistep methods 2019-10-18 16:26:06 +02:00
Arne Morten Kvarving
f8d3af7405 added: linear parameter in SIMExplicitRK
set this to mark operator as linear. this disables
repeated assembly, and reuses factorization if a LU
solver is utilized.
2019-08-16 12:49:00 +02:00
Arne Morten Kvarving
d6becd43ec added: standalone setting in SIMExplicitRK
for controlling output to terminal
2019-08-16 12:49:00 +02:00
Arne Morten Kvarving
42493fcf5a changed: group parameters in arrays 2019-05-21 12:58:29 +02:00