Commit Graph

2352 Commits

Author SHA1 Message Date
Arne Morten Kvarving
24002aec70 changed: log multithreading info to IFEM::cout 2020-07-01 10:17:29 +02:00
Arne Morten Kvarving
b5297e1b55 fix solution transfer for mixed models 2020-06-30 12:56:37 +02:00
Arne Morten Kvarving
57228365dd added: print reason for stopping adaptive cycles 2020-06-30 11:47:38 +02:00
Arne Morten Kvarving
35c8464a2b fixed: TestPETScMatrix.Assemble
for some reason newer PETSc requires an explicit call to zero out the
matrix.
2020-06-12 15:52:23 +02:00
Arne Morten Kvarving
9606dea6db added: base class for texture based properties 2020-06-02 15:03:43 +02:00
Arne Morten Kvarving
914e3dfc19 fixed: pass parameter values in projection evaluation 2020-06-02 15:03:43 +02:00
Arne Morten Kvarving
6a08d1bbcc added: support reading a 3D array from HDF5 2020-06-02 15:03:43 +02:00
Arne Morten Kvarving
c1f3ea9e65 fixed: iterating the wrong basis setting up element connectivities 2020-05-14 12:00:48 +02:00
Arne Morten Kvarving
afe5cfa8a4 added: print actual percentage of functions marked with symmetrized beta 2020-05-14 10:09:41 +02:00
Arne Morten Kvarving
5b22cb8643 added: flag to suppress simulator norm output in AdaptiveSetup::printNorms()
needed for (staggered) simulators where we want to handle the
printout ourself
2020-05-14 08:37:55 +02:00
Arne Morten Kvarving
cb6a1fc397 simplify: use LR::Element::midpoint() 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
5c649b24db added: multithreaded assembly of LR L2 projection matrices 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
6e90539fe7 added: convenience method to check for empty threadgroups 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
789e2d32f5 added: multithreaded assembly in ASMu3Dmx 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
4212c6f2e9 fixed: re-enable multithreaded assembly in ASMu2Dmx
with div-compat support and bug fixed in the LR library,
it's time to re-enable this.
2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
ab8f5a38f2 changed: reduce verbosity of multithreading group output for 2D LR splines 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
a51f7a65ff add sanity checking for thread groups in ASMu2Dmx 2020-05-08 10:47:19 +02:00
Arne Morten Kvarving
204b7c71b7 added: thread groups for mixed bases
we have constrain the coloring using multiple bases
2020-05-08 10:47:19 +02:00
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