Commit Graph

2535 Commits

Author SHA1 Message Date
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
Knut Morten Okstad
8c250a622e Added: Traction direction as a vector-valued function 2021-08-19 08:48:30 +02:00
Arne Morten Kvarving
eeee095b1a added: matrix-market storage format 2021-08-18 16:04:12 +02:00
Arne Morten Kvarving
e75fe59c79 changed: enumerate matrix storage formats 2021-08-18 16:04:12 +02:00
Knut Morten Okstad
28c544a23d Added: LinearFunc can now also represent a piece-wise linear function
with the function value pairs read from a multi-column ASCII file.
Changed: Reimplemented Interpolate1D using a LinearFunc as member.
Added: LinVecFunc - a vector-valued piecewise linear function.
2021-08-12 11:26:03 +02:00
Arne Morten Kvarving
2458cf0d04 added: empty protected constructor in FunctionSum
to give flexibility in subclasses
2021-08-12 10:10:56 +02:00
Arne Morten Kvarving
7fe06c2a4f replace tabs with spaces 2021-08-11 20:31:11 +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
1f43156434 changed: ignore singular points in evalSolution
instead of setting gradient to 0
2021-08-11 10:49:58 +02:00
Arne Morten Kvarving
e9ef9039bb fixed: ignore singular point in ASM evalSolution 2021-08-11 10:49:58 +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
Arne Morten Kvarving
4f4dc1fb03 remove obsolete testTensor.cpp 2021-08-11 09:00:00 +02:00
Arne Morten Kvarving
d3d39cf1e3 fixed: build with petsc >= 3.15.0 2021-08-09 11:37:54 +02:00
Knut Morten Okstad
e364b22b08 Fixed: A coordinate bug in the ASMuCube constructor.
Changed: Use ASMuCube instead of a SIM in the solution transfer unit tests.
Added: Unit test for the ASMu3D::DirichletFace struct.
2021-08-05 07:39:45 +02:00
Knut Morten Okstad
cf6fcb3ce9 Added: Static convenience helper function getFaceEnum().
Changed: Let the ASMu3D::DirichletFace constructor initialize
the corners member (including a bugfix in the static map there),
and reimplement ASMu3D::constrainFace in a similar way as ASMu2D.
2021-07-31 23:41:16 +02:00
Knut Morten Okstad
c9a3e8a2e7 Changed: Made SIMbase::dumpEqSystem() public 2021-07-06 20:51:26 +02:00
Knut Morten Okstad
0e7a253ec0 Remove opt.pSolOnly = true 2021-06-29 13:33:29 +02:00
Knut Morten Okstad
aeb64ced0e Added: matrix::augmentCols() 2021-06-29 13:33:29 +02:00