Commit Graph

1435 Commits

Author SHA1 Message Date
Arne Morten Kvarving
c5fd352941 added: support a general number of bases in mixed ASMs 2016-01-31 13:49:40 +01:00
Arne Morten Kvarving
10555b434a changed: generalize mixed interfaces to accomodate any number of bases 2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
0b980cfe80 changed: replace geoUsesBasis1 bool with an index 2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
b67d410895 changed: drop ASMmxBase::useCpminus1 and ASMmxBase::useLowOrderBasis1
instead introduce an enum for mixed formulation type and use this
2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
6987d45f32 fixed: find ifem dependencies in the corrext scope when used as a submodule
the XXX_FOUND values are needed in application scope
2016-01-31 13:17:57 +01:00
Knut Morten Okstad
49aaa1be3a Added: Option for calculating initial accelerations 2016-01-31 13:17:57 +01:00
Knut Morten Okstad
1c2911e361 Added: Option <convnorm>none</convnorm> for linear solution (no iterations) 2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
157dcba9e8 added: ability to have both scalar and vector primary/secondary solutions
useful for things like stokes
2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
f300cf5662 changed: add a common implementation of various pde terms
use this in various integrands. note that the minev regression test
has been updated since it turns out that the minev stabilization
has always been broken.
2016-01-31 13:17:57 +01:00
Arne Morten Kvarving
059f96a7f6 changed: return true in legacy parse 2016-01-31 13:17:57 +01:00
kmo
100a5669d7 Fixed: Treat pure 2D tensors as special case in principal value calculation.
Added: Computation of principal directions using lapack::DSYEV
Added: Unit test for principal values calculations.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3258 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
kmo
8498bc93ad Added: Support for PETSc 3.6
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3257 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
akva
e764bb72ba Fixed: Deal with users passing a bool for an integer parameter
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3255 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
Knut Morten Okstad
b266a7c5c4 Moved the log2reg.sed file into the scripts folder 2016-01-31 13:17:57 +01:00
kmo
066696c875 Fixed: Don't create plane-wise log-files in semi3D runs unless prefix is given.
Changed: Replaced the setOwnProblem method and variable by clearProblem.
Also replaced some more std::cout by IFEM::cout in simulator drivers.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3254 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
kmo
c43a824f2e Added: Print out condition number of the LHS matrix when msgLevel > 1.
Currently implemented for SparseMatrix and DenseMatrix only.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3246 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
kmo
4daf1100b3 Added: Print out total number of quadrature points in the model.
Changed: Always use std::cout for debug output, and IFEM::cout for others.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3244 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
00a7302b16 Added: Explicit interface elements with extended topology for stabilization
of immersed boundary calculations.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3243 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
d2dd92a142 Added: Stabilization term for immersed boundary calculations
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3242 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
71c96b7be1 Added: Framework for element interface integrals
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3241 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
adca53e7c8 Fixed: Argument 'pchInd' of the readPatch methods is zero-based.
Changed: Argument 'basis' of the addConstraint methods has default value 1.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3240 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
dac5c1ce12 Added: Convenience method ASMstruct addXNodes.
Changed: Negate the global element number of the extra-ordinary elements,
i.e., the boundary elements associated with the mortar formulation for contact.
The SIMBase::getNoElms method is then able to also return the total number of
elements in the model, excluding these extra-ordinary elements.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3239 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
bb344b1c57 Fixed: Search for the closest control point for result points
and point loads, instead of the first point within the tolerance.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3238 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
520933c5b5 Fixed: Using std::array instead of standard C-array of RealArray's,
or just use single variables where possible

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3235 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
4f4570b850 fixed: overloads for registerDependency was broken after change of diffBasis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3229 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
f07cf6e092 fixed: confusion around type of std::streamsize
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3228 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
5513d7f1ae fixed: remove useless check
an unsigned integer is always >= 0

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3225 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
d44589be2f fixed: get rid of unused member when running in serial
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3224 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
f459580b1a changed: register storage specifier is deprecated in C++11 (and ignored)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3223 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
kmo
d5cf6394b0 Fixed: Using std::array instead of standard C-array of non-basic
element types, as the latter gives clang compiler issues.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3222 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:56 +01:00
akva
a9b202e326 added: announce argument types
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3218 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
2195ac2cd1 fixed: don't build and run IFEM unit tests without IFEM_AS_SUBMODULE
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3215 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
46cfb14b79 changed: remove failed.log between each execution of the test target
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3214 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
a835227865 fixed: inject materials for secondary integrands
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3212 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
f408df314a added: Robin property type
use this to distinguish between generic-neumann integrals
with or without function data

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3211 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
kmo
b20ff2aee3 Updated regression test due to round-off differences on afem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3209 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
kmo
9e57e91bea Changed: Undid the use of LogStream in the ASMbase::write method (r3160).
These outputs are always directed to file (never to console).
Therefore no need for the LogStream stuff here (keep it simple).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3207 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
kmo
41a5b2b290 Replaced the virtual method print(utl::LogStream&) with printLog
not taking any argument, as we always print to IFEM::cout anyway.
Also removed the stream argument in SIMbase::print[Problem|Norms].

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3206 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
c93a780e73 fixed: initialize variable
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3204 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
977a59097e fixed: hdf5 converter for LR input
- fix dimensionality check
- fix output (cosmetics)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3201 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
0a8c563878 fixed: check pointer before dereferencing
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3200 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
2569465c71 changed: only dump initial configuration for time-dependent simulations
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3199 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
a49c782375 fixed: default to basis 0 (all bases) in extractNodeVec
fixes HDF5 output for mixed simulators

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3198 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
ca3e2e7c54 added: ability to specify a corner and lengths for default 2D geometry
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3195 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
403c7d5425 added: util function which tokenizes a string
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3194 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
c68bc4d1d3 changed: make the diffbasis member an integer holding the basis number to assign dependency with
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3192 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
98b64b6899 added: ability to specify which basis to use for a field
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3191 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
35537c711c fixed: don't try to do multi-threaded norm assembly with LR
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3185 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
fd9c4c3b47 added: support for adaptive simulators in SIMSolver loop
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3183 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
c5abcba256 added: function to obtain number of norms in adaptor group
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3182 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00