Commit Graph

2766 Commits

Author SHA1 Message Date
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
Knut Morten Okstad
84bfa9c2bd Added: Static function for reading recovery matrix from file,
and a const method for conducting the actual recovery
2021-06-29 13:33:29 +02:00
Knut Morten Okstad
1668893602 Added: virtual method SIMoutput::tesselatePatch().
Changed: Made SIMoutput::writeGlvS[12] virtual.
2021-06-29 13:33:29 +02:00
Knut Morten Okstad
73b28fa33d Added: Transformation of element block coordinates.
Changed: Checking for unique nodes is optional when merging blocks.
2021-06-29 13:33:29 +02:00
Knut Morten Okstad
468304ba8b Changed: Ensure only one ASMsupel patch per superelement.
Added: Container for storing superelement data.
2021-06-29 13:33:29 +02:00
Knut Morten Okstad
f56080d55f Added: Write displacement recovery matrix to binary file 2021-06-29 13:33:29 +02:00
Knut Morten Okstad
ee807adb25 Added: Method for static condensation of a linear equation system 2021-06-29 13:33:29 +02:00
Knut Morten Okstad
571aa5a47e Added: SparseMatrix::split() and SparseMatrix::getColumn() 2021-06-29 13:33:29 +02:00
Knut Morten Okstad
d42cbef045 Changed: calcCSR is now a const method instead of a static function 2021-06-29 13:33:29 +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
97e8b9cadc fix some doxy issues 2021-06-25 11:44:10 +02:00
Arne Morten Kvarving
c6a6b42a4e add missing includes 2021-06-25 11:44:10 +02:00
Arne Morten Kvarving
dc57ad192f changed: make coord protected to allow subclass access 2021-06-23 10:01:30 +02:00
Arne Morten Kvarving
bb00bc7a72 added: ASMs3DLag::updateOrigin
for translating the entire mesh by a constant.
2021-06-23 10:01:30 +02:00
Arne Morten Kvarving
307d5b58f3 disable check for empty spline
so this can be used in (ASMsxDLag-)subclasses
where the geometry is not derived from a spline.
2021-06-23 10:01:30 +02:00
Arne Morten Kvarving
6827453eb9 add evaluate for ASMsxDLag
also expand evalSolution to respect evaluation points
2021-06-23 10:01:30 +02:00
Arne Morten Kvarving
a97b78af8a added: ASMsxDLag::findElement
this finds the element of a parameter value
and optionally calculates the local coordinates
of an integration point.
2021-06-23 10:01:30 +02:00
Knut Morten Okstad
f3cdb440a2 Fixed: Override getNoIntPoints and getNoBouPoints
to reflect the respective integrate methods for LRSplines
2021-06-21 14:20:11 +02:00
Knut Morten Okstad
a2cec872cb Fixed: Let clear() erase threading group data 2021-06-21 14:20:02 +02:00