Commit Graph

2652 Commits

Author SHA1 Message Date
Arne Morten Kvarving
573ce9199f fixed: add missing initializer 2021-10-12 11:17:07 +02:00
Arne Morten Kvarving
5413ce3539 add IFEM-CoSTA to common App build system 2021-10-11 11:43:36 +02:00
Knut Morten Okstad
d7ee36657e Changed: Made the second overloaded finalizeElement method
protected, such that all ASM-classes are forced to use the
version providing the most general interface.
Changed: No need to assign time to the Vec4 object within
the integration loop, doing it on construction instead.
2021-10-11 07:41:39 +02:00
Knut Morten Okstad
65c36818e3 Added: LHS-matrix buffers for linear Newmark integration 2021-10-08 13:19:25 +02:00
Knut Morten Okstad
1b58b79d5b Added: <nupdate> tag for NewmarkSIM.
Fixed: Missing newTangent in NonLinSIM::solveIteration.
2021-10-08 13:19:25 +02:00
Knut Morten Okstad
3089611cdc Changed: Derive class BDFMats directly from ElmMats.
It has nothing to do with the Newmark methods.
2021-10-08 13:19:25 +02:00
Knut Morten Okstad
bb95b66a7c Changed: No default value on the number of bases 2021-10-08 13:19:25 +02:00
Arne Morten Kvarving
b4ac1494a2 fixed: use multiplication instead of shift operator
this implicitly casts to int in the process.
if not the shift makes little sense as everything is done
for an unsigned char
2021-10-08 10:46:51 +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
Knut Morten Okstad
458b245b9f Changed: Removed unused newLHS argument in SIMbase::solveSystem() 2021-10-08 10:46:51 +02:00
Knut Morten Okstad
62ecb75f55 Changed: Removed the newLHS argument in the SystemMatrix::solve().
It was used only by PETScMatrix but also there we can use the
factored member inherited from SparseMatrix.
2021-10-08 10:46:51 +02:00
Knut Morten Okstad
9ffa4c49c8 Changed: Removed bool argument to SparseMatrix::solve (unused). 2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
4230fe7495 avoid shadowing variables 2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
6314afc628 remove unused variable 2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
24456cb047 remove code that is unreachable 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
ef2aca116d fixed: missing member initialization 2021-10-07 11:44:02 +02:00
Arne Morten Kvarving
3e9014c8d0 make some things const where possible 2021-10-07 11:44:02 +02:00
Arne Morten Kvarving
a75a0c7158 small reorganizations to aid static analyzers 2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
d2ebc44b15 initialize some variables
to aid static analyzers
2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
47ec469796 avoid some unnecessary stores 2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
2927ed8fcf fixed: set intended variable, not the local one 2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
703e3e668e avoid unnecessary initialization
value is immediately overwritten in block below
2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
030b638180 fixed: potential memory leak for lfunc 2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
4259c6b89a add some null pointer checks
does no harm and aids static analyzers
2021-09-30 20:22:56 +02:00
Arne Morten Kvarving
875d413829 expreval: use override 2021-09-30 15:36:08 +02:00
Arne Morten Kvarving
76f0c68499 expreval: mark constructors explicit 2021-09-30 15:36:08 +02:00
Eivind Fonn
00bfaf54c3 Changed: allow profiler to optionally be silent 2021-09-27 10:39:31 +02:00
Arne Morten Kvarving
845b3a1af4 add IFEM-CoSTA to jenkins 2021-09-24 12:33:55 +02:00
Arne Morten Kvarving
548adf7e5b fixed: allow flat dump format 2021-09-24 10:29:20 +02:00
Knut Morten Okstad
dba0163a5b Added: Attribute "printmapping" on <resultpoints> tag 2021-09-23 12:26:28 +02:00
Knut Morten Okstad
352b5ff97c Added: enum value NONE_UPTAN implying linear analysis, but with calculation
of tangent matrix at each step. Must use this when we have inhomogeneous
Dirichlet conditions, as a workaround. The ideal solution would be that the
integrands had a special RHS_ONLY mode that includes element matrix
calculation, but where only the force vector is assembled.
2021-09-23 06:46:02 +02:00
Knut Morten Okstad
19b3033e7c Fixed: Don't recalculate tangent in pure linear analysis 2021-09-22 08:05:33 +02:00
Arne Morten Kvarving
cff62ff7b9 added: ability to set a parameter value for ExprFunctions 2021-09-21 12:31:52 +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
Knut Morten Okstad
9193befb12 Fixed: Duplicated \param in the doxy 2021-09-10 14:58:26 +02:00
Knut Morten Okstad
6f5b57ec0e Fixed: Skip all points with zero coordinates (from zero-knotspan elements)
in the traction vector output.
2021-09-10 14:58:26 +02:00
Knut Morten Okstad
319feceb55 Added: <saveTrac/> tag inside <postprocessing> context for traction output 2021-09-10 14:58:26 +02:00
Arne Morten Kvarving
fd8ee565d6 fix types in ranged for loops 2021-09-10 12:16:28 +02:00
Arne Morten Kvarving
9dd8bbc23c add explicit std::move calls to avoid copies 2021-09-10 12:16:28 +02:00
Arne Morten Kvarving
1459d5fd96 add missing using statement 2021-09-10 12:16:28 +02:00
Arne Morten Kvarving
aaf1afcd36 jenkins: run nproc/2 tests in parallel, each with 2 threads 2021-09-10 11:30:06 +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
Knut Morten Okstad
c00a779e66 Fixed: Convert angles to radians and flip transformation 2021-09-07 13:56:22 +02:00
Knut Morten Okstad
52478b152d Changed: utl::parseTimeFunction() is replaced by a file-scoped static
function parseFunction(), since it is not supposed to be used elsewhere.
Added: Possibility to specify a constant time function.
2021-09-07 13:53:34 +02:00
Knut Morten Okstad
eb016808e0 Added: Force direction specification as single angle and rotation axis 2021-09-07 13:53:34 +02:00
Knut Morten Okstad
2cd00d922d Added: Unit testing for the new ForceDirField class 2021-09-07 13:53:28 +02:00
Knut Morten Okstad
b8b490a81a Moved class NodeVecFunc to SIM, since it depends on SIMbase 2021-09-03 12:19:28 +02:00
Knut Morten Okstad
1e64ba1948 Added: New TractionFunc subclass ForceDirField 2021-09-03 10:50:56 +02:00
Knut Morten Okstad
00f4a10cfe Moved the TractionField and PressureField class definitions to separate
header file for clarity, while renaming Function.C to TractionField.C.
Avoid including Function.h in IntegrandBase.h - use forward declarations.
2021-08-19 09:10:39 +02:00