Commit Graph

2633 Commits

Author SHA1 Message Date
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
Knut Morten Okstad
d6e7caa46f Added: Serialization of reference norm for Newton iterations 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
78c5a5766e Added: SIMinput::[save|restore|restart]Basis and SIMbase::[set|get]Refined 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
Arne Morten Kvarving
845f469568 Fixed: Check for missing extension in restart file.
Added: Option to reading basis data instead of results on restart.
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
a577d895f4 Added: SIMbase::getExtEnerg() and SIMbase::theExtEnerg() for serialization 2021-06-11 10:30:44 +02:00
Arne Morten Kvarving
7f29f5a28b Fixed: Reset time step after deserialization 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
a92cb3c51e Changed: Assume total rotations are in the solution vector if the
nodal rotation matrices have not been updated (linear analysis).
2021-06-10 14:38:58 +02:00
Knut Morten Okstad
27597c2d7e Fixed: Result points for spline-less unstructured Lagrange models 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
04d0ca77b8 Fixup for commit 7c2d6c4fad:
Also the loop range was incorrect.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
2c0f9c75ad Added: Support for explicit element set (TopItem::idim == 5) 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
fd08a9a141 Added: Explicit nodal constraints for 1D patches 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
5819a3366f Fixed: Also offset the global patch indices when merging sim-objects.
Changed: Process explicit nodal constraints with the vertex constraints.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
bc4dacb44d Added: Skip element if local integral pointer is NULL 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
810ea35205 Added: Superelement transformation 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
07d318ca8f Changed: Let the non-const getNodeSet method also return the set index.
Changed: Override getBoundaryNodes() to return an indexed node set.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
865b27a90d Fixup for commit 64164d22fa:
Only the first and last patch files need to be marked.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
a73c1b5a12 Added: Input of unstructured Lagrange mesh from xml-file 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
cf3261fa12 Added: class ASMu1DLag for unstructured Lagrange 1D patches.
Changed: Moved the Matlab mesh input method to ASMutils.C file.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
e694fa091a Fixed: Avoid dereferencing curv pointer in initLocalElementAxes()
and generateTwistedFEModel(). Removed unused/obsolete refine method.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
99de45c279 Fixed: Expand solution vector for superelement patches on HDF5 2021-06-10 09:21:47 +02:00
Knut Morten Okstad
7f21078fe7 Added: Output of basis for ASMsupel as a lagrangian spider mesh 2021-06-10 09:21:47 +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