Commit Graph

2606 Commits

Author SHA1 Message Date
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
Knut Morten Okstad
ff60831796 Fixed: Using direction-dependent Gauss quadrature on face integrals 2021-06-21 14:17:50 +02:00
Knut Morten Okstad
9421df2838 Changed: mixedMADOFs renamed to extraMADOFs and is now mutable.
Fixed: Use a separate MADOF array in extractPatchSolution()
when extraordinary nodes and/or monolithic coupled simulators.
2021-06-18 14:17: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
1561294100 Added: Serialize the minimum element size for restart 2021-06-11 10:35:54 +02:00
Knut Morten Okstad
e860948ae9 Fixed: Restart files do not necessarily start with time level 0 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