Commit Graph

526 Commits

Author SHA1 Message Date
Arne Morten Kvarving
943044538d changed: CompatibleOperators::Weak::Laplacian - check if symmetric
if not also add stress terms to lower block
2023-10-25 14:37:38 +02:00
Arne Morten Kvarving
33252358b1 changed: optimize various EqualOrderOperators
more BLAS usage
2023-10-25 13:03:34 +02:00
Arne Morten Kvarving
c4ea583708 changed: optimize ResidualOperators::Laplacian
and remove templating for the EqualOrder one
2023-10-25 12:17:36 +02:00
Arne Morten Kvarving
b02de8d87b SIMSolver: avoid unused variable
iStep is not used
2023-10-25 10:15:10 +02:00
Arne Morten Kvarving
32d7f01872 StabilizationUtils: remove pointless bool return values
use return values instead of out-params
2023-10-16 12:27:14 +02:00
Arne Morten Kvarving
e4e61a9b74 StabilizationUtils::getTauNSPt
use matrix::trace()
2023-10-16 12:27:14 +02:00
Arne Morten Kvarving
b8add08563 StabilizationUtils::getTauPt:
use matrix::norm2()
2023-10-16 12:27:14 +02:00
Arne Morten Kvarving
40508f0e12 StabilizationUtils: some cosmetics 2023-10-16 12:27:14 +02:00
Arne Morten Kvarving
5be5c5fb1b EqualOrderOperators: cosmetics
also use MxV instead of loops in WeakOps::Divergence and ResidualOps::Divergence
2023-10-16 09:01:41 +02:00
Arne Morten Kvarving
95afb36eb2 added: FiniteElement::Jacobian for use on boundaries 2023-09-06 09:21:56 +02:00
Arne Morten Kvarving
9014cc6335 changed: use INSTANTIATE_TEST_SUITE_P
INSTANTIATE_TEST_CASE_P causes deprecation warnings with
newer gtest versions
2023-09-04 20:02:53 +02:00
Arne Morten Kvarving
30b7a968d3 bump minimum cmake version to 3.5
and put the cmake_minimum_required before project.
current cmake has removed support for < 3.5 and
tosses a warning if the project statement comes
before the cmake_minimum_required statement
2023-09-03 12:04:59 +02:00
Arne Morten Kvarving
3d6d950474 changed: remove ASMxxD::get(Surface|Volume)
use getBasis instead
2023-09-01 08:51:04 +02:00
Arne Morten Kvarving
bb7d87efb9 changed: fold ASMu2Dnurbs into ASMu2D
this so we get access to NURBS in ASMu2Dmx.
remove ASM::LRNurbs and option -LRn as we now detect
rational from the underlying tensor spline
2023-05-16 22:02:36 +02:00
Arne Morten Kvarving
d1c4915e59 fixed: set minimum required version to 3.5
to avoid warning about pre 2.8 compatibility
2022-09-13 12:11:38 +02:00
Arne Morten Kvarving
edc289e999 add IFEM-Burgers to jenkins and Common app build 2022-06-23 14:05:33 +02:00
Arne Morten Kvarving
ad4264505e use INSTANTIATE_TEST_SUITE_P instead of INSTANTIATE_TEST_CASE_P
latter is deprecated
2022-05-19 11:26:24 +02:00
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