Knut Morten Okstad
5849fbeba2
Fixed: Always use basis 1 when extracting patchwise projections.
...
Changed: Minor cosmetics rewrite and logic simplifications.
Added: Debug output from writeSIM and writeArray methods.
2020-04-30 13:10:15 +02:00
Knut Morten Okstad
04de5528ad
Changed: Moved all HDF5-related items inside #ifdef HAS_HDF5
2020-04-30 13:10:15 +02:00
Knut Morten Okstad
f7422867d5
Changed: Inlining the two private method readArray and writeArray
2020-04-30 13:10:15 +02:00
Arne Morten Kvarving
6e5f087551
fixed: wrap the multi-patch refinement in a loop
...
if not, neighbour patches will miss the refinements
imposed by the extended refinement domain for a patch.
2020-04-30 12:35:51 +02:00
Arne Morten Kvarving
2d3aac464d
fixed: have to consider all elements not just local elements
...
if not, the sparsity pattern will lack connections that only
gets contributions from off-diagonals.
2020-04-30 12:35:51 +02:00
Arne Morten Kvarving
37f683ca69
save projections in the internal adaptive solver template
2020-04-29 12:55:08 +02:00
Arne Morten Kvarving
c5f29c0b14
added: solver template for simulators with internal adaptation
2020-04-28 12:04:33 +02:00
Arne Morten Kvarving
2ccafc972e
changed: add a parameter to suppress printing during RealFunc parsing
2020-04-27 14:00:14 +02:00
Arne Morten Kvarving
f62f7d15bc
Required changes for stationary, semi-implicit simulations
2020-04-24 10:40:00 +02:00
Arne Morten Kvarving
94a2ad20eb
changed: move copying of refinement to separate method
...
to facilitate reuse elsewhere
2020-04-23 12:50:32 +02:00
Arne Morten Kvarving
a64a40de09
added: save result points in AdaptiveSIM
2020-04-23 10:52:35 +02:00
Arne Morten Kvarving
611149434c
fix compiling of parallel ISTL unit tests
2020-04-17 12:12:01 +02:00
Knut Morten Okstad
40e481a6fa
Fixed: Processing of chained MPCs for time-dependent problems.
...
Changed: Replaced private methods by recursive lambda functions.
Added: Use of std::setw to improve formatting of debug output.
2020-04-16 11:54:52 +02:00
Knut Morten Okstad
ec5eb6ad25
Changed: The patch vector argument is removed from protected methods in
...
SAMpatch since the same vector is a class member (has been for a while).
Added: More debug print from SAM preprocessing.
2020-04-16 11:54:52 +02:00
Knut Morten Okstad
ecdf515e3e
Removed unused patch member, the parent class has it now
2020-04-16 11:54:52 +02:00
Knut Morten Okstad
487f865683
Added: Methods printStatusCodes and printCEQ in class SAM.
...
Added: Methods printMaster and isChained in class MPC.
2020-04-16 11:54:52 +02:00
Arne Morten Kvarving
00f9fd8a03
added: conservative form support in EqualOrderOperators::Weak::Advection
2020-04-16 10:56:01 +02:00
Arne Morten Kvarving
f5485633ab
changed: allow specifying direction="-1" on robin conditions
...
use this to indicate that the two coefficients alpha and g are packed
as one vector function (alpha | g)
2020-04-03 10:45:27 +02:00
Knut Morten Okstad
bc17d3b07e
Added: Support for lowerpatch and upperpatch attributes
...
in the topologyset item definitions
2020-04-02 11:06:00 +02:00
Knut Morten Okstad
c5c4f621c8
Fixed: Avoid writing unnecessary restart file in restart regression tests
2020-03-05 15:06:34 +01:00
Knut Morten Okstad
6f56598482
Changed: Minor ifdef'ery cosmetics
2020-02-06 14:24:56 +01:00
Knut Morten Okstad
faae88f69f
Fixed: Check opts pointer before dereferencing it, but no need
...
to check the pointers that are going to be deleted.
Changed: Moved the ierr error flag inside the ifdef's.
2020-02-06 12:43:21 +01:00
Knut Morten Okstad
1111bc2277
Changed: Use a polymorphic lambda instead of the static function,
...
and make the parse[Expression|Field]Functions methods private.
Fixed: Avoid crash if the file attribute is forgotten.
2020-02-06 11:44:15 +01:00
Knut Morten Okstad
0b88dbe27f
Fixed: Memory leak in ASMs2Dmx::getBoundary.
...
Also provide spline parameters to the Vec4 object in the boundary
integration methods, to account for possible field evaluation there.
The remaining changes are cosmetics only.
2020-01-30 11:08:25 +01:00
Knut Morten Okstad
53ff85e4dd
Changed: Assume in-homogenenous Dirichlet for first RHS only
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
74035bbb20
Fixed: Computation of element center with parameters
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
2b8e5aa951
Fixed: DualRealFunc can now be used directly for extraction
...
of solution gradients for scalar problems, like Poisson, etc.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
143a7d891e
Added: virtual method SIMgeneric::getVolumeIndex() and use that
...
in the SIMgeneric::getVCPindex() method, assuming the VCP quantities
now follow directly after the integrated volume in the norm arrays-
Added: Print out the extraction function domain volumes.
Added: SIMgeneric::revertSqrt() for use by applications.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
0bdc5d53c4
Changed: Moved some methods related to adaptive simulation
...
from SIMoutput to SIMgeneric such that SIMoutput only deals
with result output, and not much else. Retained virtual
interfaces for some methods that are used by AdaptiveSIM.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
48d8fc58ac
Fixed: Resizing the rectangular search box for elements in domain.
...
Added: Option to search for domain elements containing (or close to)
the reference point, instead of using a rectangular box.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
54a1ff98a9
Added: Another constructor and some operators for the Point class.
...
Changed: ElementBlock::getCenter now returns an utl::Point object.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
1ca7f9cc13
Fixed: Wrong weighting with the dual solution error estimates
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
d6f0f0896c
Added: virtual method FunctionBase::getType()
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
de6fa008f0
Added: Extraction function for point-wise stress evaluation.
...
Changed: Don't have to use getPatch() when the patch index argument
is a local index which clearly is within the valid range,
then address myModel directly instead.
Also a few more range-based for loops.
2019-12-18 16:15:57 +01:00
Knut Morten Okstad
1ad4bad425
Added: Support separate projection basis in 3D.
...
Fixed: Move evalProjSolution implementations to ASMs3D and ASMu3D.
2019-12-07 09:12:24 +01:00
Arne Morten Kvarving
1ec2e04734
Unify ASMs3D(mx)::assembleL2matrices and ASMu3D(mx)::assembleL2matrices
2019-12-07 09:12:24 +01:00
Arne Morten Kvarving
8597b5079e
Changed: Move projection basis handling from ASMs3Dmx and ASMu3Dmx
...
to ASMs3D and ASMu3D, respectively
2019-12-07 09:12:24 +01:00
Knut Morten Okstad
4c46adf008
Added: Some tests for HHTSIM.
...
Fixed: A sign error in the HHTSIM documentation.
2019-11-24 07:06:38 +01:00
Knut Morten Okstad
a080899d4b
Added: Support for explicit damping matrix and associated force vector
2019-11-24 07:06:38 +01:00
Knut Morten Okstad
35873f6e97
Changed: Removed need for a dummy integrand in some unit tests
2019-11-24 07:06:38 +01:00
Knut Morten Okstad
edd1326162
Added: Simple two-dof Newmark test with discrete damper
2019-11-24 07:06:38 +01:00
Knut Morten Okstad
523245dec6
Fixed: Consistently handling empty or shorter element vector than expected.
...
Silently ignore it instead of error message and segmentation fault.
2019-11-24 07:06:38 +01:00
Knut Morten Okstad
1b9e564286
Changed: Quasi-static modal simulation when beta=0
2019-11-21 16:28:42 +01:00
Knut Morten Okstad
56fe8b0530
Fixed: Result point evaluation for multi-patch models.
...
Since the result points are evaluated patch-wise, we need
to augment the results values of each patch to get the total.
2019-11-13 20:08:32 +01:00
Knut Morten Okstad
6ae9c5645c
Changed: Dynamically allocate the ControlFIFO object when needed
...
instead of an always present static member in IFEM
2019-11-13 20:08:32 +01:00
Arne Morten Kvarving
89232a542d
fixed: use proper basis for evaluation in regularInterpolation
2019-11-12 12:33:17 +01:00
Knut Morten Okstad
17247b8987
Fixed: Zero out the patch-wise solution vector in extractPatchSolution
...
when the corresponding global vector is zero or absent.
Also some more range-base for loops here and there where convenient.
2019-11-09 08:36:16 +01:00
Knut Morten Okstad
09f847ecd2
Added: Visualization of result points as small cubes
2019-11-08 09:00:08 +01:00
Knut Morten Okstad
86cfb5dd42
Added: Private helper initPatchForEvaluation() and protected method
...
evalResults() in SIMoutput. Use this in the dumpResults() method.
2019-11-08 08:51:30 +01:00
Knut Morten Okstad
a9177f403e
Added: Account for element damping matrix as the fourth matrix.
...
Added: Modal damping when either alpha1 or alpha2 is given.
Added: Check that the expanded solution array size is unchanged.
2019-11-08 08:51:30 +01:00