Commit Graph

2068 Commits

Author SHA1 Message Date
Knut Morten Okstad
253f108194 Added: Separate array dof_type to assign type flags on the DOF-level.
It is used in norm calculations, etc., for monolithic coupled solvers.
2018-10-11 16:36:55 +02:00
Arne Morten Kvarving
bf94a4d300 changed: make standard adaptive formulations output first mesh to eps 2018-10-09 12:44:35 +02:00
Arne Morten Kvarving
2fa883a81d changed: use a private member function instead of a lambda 2018-10-09 12:44:35 +02:00
Knut Morten Okstad
f91f17c2de Added: stb_image.h as 3rd-party include 2018-10-08 07:17:35 +02:00
Knut Morten Okstad
16fd269242 Added: virtual method ASMbase::getParameterDomain 2018-10-07 08:18:25 +02:00
Knut Morten Okstad
f7efe0ae2b Fixed: 2D to 3D Tensor assignment 2018-10-04 10:55:12 +02:00
Arne Morten Kvarving
4ab6e76b2d fixed: add virtual destructors to classes with virtual members 2018-10-02 13:11:00 +02:00
Eivind Fonn
0e926a4f49 Added: Support output of condition numbers in newmark solver 2018-10-02 13:09:00 +02:00
Arne Morten Kvarving
fde4a4afb5 fixed: support hdf5 1.10 library
- use the new H5Lexists convenience function
- explicitly use hid_t. 1.10 broke compatibility with ints.
2018-10-01 12:09:57 +02:00
Eivind Fonn
139a3a695c Added: Unit tests for determinant calculation and assignment operator. 2018-09-26 16:38:33 +02:00
Eivind Fonn
8ed9f6b290 Fixed: Determinant of 2D symmetric tensors.
Fixed: Assignment operator for plane-strain/axisymmetric SymmTensor to 3D.
2018-09-26 16:11:57 +02:00
Knut Morten Okstad
3a6ef1d033 Fixed: stride > 1 and ofs > 0 was not correctly accounted for.
Also the non-BLAS version of this multiply method was faulty.
Changed: Use const reference only for those parameters that
are passed into BLAS subroutines (consistency).
Changed: Clear the matrix if dimension mismatch is detected in the multiply
methods returning the reference to the matrix itself (for error handling).
2018-09-06 09:44:26 +02:00
Knut Morten Okstad
7fc18849ff Fixed: Minor corrections in MADOF consistency checks.
Let [extract|inject]NodalVec return false if the test fails.
2018-09-06 08:47:00 +02:00
Arne Morten Kvarving
0f68292d16 Added: Overloaded registerDependency method intended for mixed problems
with a dependent scalar field defined on one of its bases
2018-09-06 08:47:00 +02:00
Arne Morten Kvarving
7dcee2bf94 Fixed: Use injectPatchSolution in SIMbase::project
to tap into the additional MADOFs for mixed problems.
Changed: The [extract|inject]PatchSolution methods do not need
to check both nndof>0 and basis>0. The latter check is sufficient.
Also invoke the getNoFields method on the patch in question instead
of for *this (which implies the first patch always).
Fixed: Missing basis in the injectNodeVec call in injectPatchSolution.
Added: Check consistency in additional MADOF for multi-patch models,
in the similar ways as in SAMPatch::initNodeDofs.
2018-09-06 08:47:00 +02:00
Arne Morten Kvarving
655b2f015c Fixed: Use extractPatchSolution in SIMoutput::writeGlvS
to tap into the additional MADOFs for mixed problems.
Assume the scalar field always is on the first basis.
2018-09-06 08:47:00 +02:00
Arne Morten Kvarving
cec1df62fc changed: prettify the jenkins build banner a little 2018-09-05 15:55:56 +02:00
Arne Morten Kvarving
5fe3f53dfb added: add IFEM-Boussinesq to common app build CMakeLists.txt 2018-09-05 13:23:01 +02:00
Arne Morten Kvarving
ff3918f831 added: add new boussinesq repo to jenkins downstreams list 2018-09-05 13:23:01 +02:00
Arne Morten Kvarving
f7972684c7 fixed: evalSolution in ASMs1D 2018-09-02 08:05:47 +02:00
Knut Morten Okstad
89e11b3525 Changed: Default value of rCond is now 1.0,
to avoid issues in sub-classes not using this feature
2018-08-31 06:52:40 +02:00
Knut Morten Okstad
422c6eb7a7 Added: Proper serialization for the nonlinear HHT simulation drivers 2018-08-30 14:59:09 +02:00
Knut Morten Okstad
06cd7a7ed9 Fixed: HHTSIM and NewmarkNLSIM are slightly different implementations of
the Hilber-Hughes-Taylor method, and is reflected in the documentation
2018-08-30 14:59:09 +02:00
Knut Morten Okstad
8ed0882073 Added: Solution vector base class with serialization support (for restart) 2018-08-30 14:59:09 +02:00
Knut Morten Okstad
badde0a175 Fixed: Incorrect reference to apt package for SuperLU.
Changed: Removed reference to SAMG in the README file.
2018-08-30 14:17:28 +02:00
Arne Morten Kvarving
f8153480dd added: add support for adaptive simulators using the ISolver interface
in particular, this allows adaptivity for stationary, nonlinear systems
such as NavierStokes or Boussinesq.
2018-08-22 15:51:39 +02:00
Knut Morten Okstad
b9598a9ad4 Added: Assemble element norms without groups.
Changed: Cleaned away some out-commented irrelevant code in ASMu?D.
2018-08-19 18:29:27 +02:00
Knut Morten Okstad
9fbefefda1 Added: virtual method in GlobalIntegral telling if random assembly is possible.
Reimplemented in GlbNorm to return true (unless element norms are not requested).
2018-08-16 16:26:58 +02:00
Knut Morten Okstad
80f95bf603 Changed: Moved the LR-spline evaluations outside the main integration loop
and re-instated multithreaded assembly of LR patches.
2018-08-16 14:40:49 +02:00
Arne Morten Kvarving
36c1c0cffe reorganize ifdef'ery to avoid static analyzer errors 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
8dae92151a changed: check intended variables in intended order 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
0d565fa54c fixed: we want to init the vecSecSol here 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
77b704b5c0 suppress some more expected cppcheck warnings 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
2e660ecdd0 changed: prefer std::string::compare to std::string::find 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
7e1fd7d701 fixed: print size_t as %z 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
7fa48c08ff prefer c++ style cast 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
667471860c mark classes non-copyable 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
46e546edc6 fixed: avoid memory leak 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
a9b20e85f6 changed: rename members to avoid clashes with similarly named members in super classes 2018-08-16 13:33:33 +02:00
Arne Morten Kvarving
700a5dc3ae fixed: we want to assign fe.v here, not fe.u 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
b7f842aaca add some missing pointer checks 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
39c4c40c08 changed: use range based for loops where convenient
prefer prefix operator for iterators elsewhere
2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
7c14cd4787 add missing initialization 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
b8c95ea3dd remove unused variables 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
308f043020 clarify operator precedence 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
a10bce9e35 reduce scope of variables 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
1b223b6895 prefer initializer list for non-primitives 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
cd82dda8b0 add copy-constructor to ProcessAdm 2018-08-16 13:32:15 +02:00
Arne Morten Kvarving
d9f4ded461 mark constructors explicit 2018-08-16 13:32:15 +02:00
Knut Morten Okstad
e48f1ebbf5 Added: Termination of adaptive cycles when condition number too high.
Changed: Set default adaptor to group 1 if projections and no AnaSol.
Fixed: Account for the -adap<num> command-line argument syntax.
2018-08-16 00:03:25 +02:00