Arne Morten Kvarving
a3555e8942
changed: do not resize the newton matrix up front
...
this way we can use its non-emptyness to signal that
it has already been assembled.
2022-02-16 22:44:10 +01:00
Arne Morten Kvarving
bbc3333380
changed: suppress all output in RK solver if not standalone
2022-02-16 11:52:57 +01:00
Arne Morten Kvarving
5618e4b000
changed: print iteration history in NonLinSIM even at msgLevel -1
...
allows suppressing norm and solution summary output, while still
keeping the iteration history. useful in split simulators
such as Chorin
2022-02-14 07:00:47 +01:00
Arne Morten Kvarving
ffe5499917
fixed: wrong variable used in 3D mixed tensor spline fields
2022-02-11 15:32:38 +01:00
Arne Morten Kvarving
22d7167c7d
fixed: we need to free the MPI_Comms even in serial
2022-02-09 12:52:53 +01:00
Arne Morten Kvarving
9f936b401e
EqualOrderOperators: use outer_product in Convection
2022-01-27 16:28:21 +01:00
Arne Morten Kvarving
17cbd59390
EqualOrderOperators: use outer_product in Advection
2022-01-27 16:28:21 +01:00
Arne Morten Kvarving
4061249593
fixed: wrong index in CompatibleOperators::Advection
2022-01-27 14:53:46 +01:00
Arne Morten Kvarving
ec6b692c3a
fixed: also put multiplier in block 2 with component based blocks
2022-01-27 11:44:00 +01:00
Arne Morten Kvarving
a2cf0932f1
Print number of local equations in each block
2022-01-27 11:44:00 +01:00
Arne Morten Kvarving
a4b38fff9d
added: support for Integrand::AVERAGE flag in LR integrands
2022-01-27 11:15:12 +01:00
Knut Morten Okstad
4a347ed412
Added: Optional print of external load resultant.
...
Added: Debug print of nodal reaction forces.
Changed: Better property mapping outprint.
2022-01-26 17:01:33 +01:00
Arne Morten Kvarving
795bb64b9d
fixed: element index should be 0 based
2022-01-26 13:35:40 +01:00
Arne Morten Kvarving
4d4ce8e147
fixed: lagrange multiplier with single basis LR
2022-01-26 13:35:40 +01:00
Arne Morten Kvarving
4633d4dc89
fixed: forgotten condition in 3D subgrid with H mesh projection
2021-12-01 15:23:30 +01:00
Knut Morten Okstad
ea0ad9a4fe
Changed: Use std::vector<double> as reaction force container
2021-11-20 10:56:32 +01:00
Arne Morten Kvarving
f4d4c7247a
changed: INT type is now INTERNAL
2021-11-17 15:30:26 +01:00
Arne Morten Kvarving
b188724ce8
changed: make less noise if system tinyxml is not found
2021-11-17 14:43:17 +01:00
Arne Morten Kvarving
d8d4d40d8f
fixed: projection basis for XXX_CONT_RAISE_BASIS2
2021-10-29 10:59:43 +02:00
Arne Morten Kvarving
7cfd2470eb
fixed: typo, cycles, not cyles
2021-10-29 10:32:47 +02:00
Knut Morten Okstad
22952809fa
Changed: The node renumbering is moved to a separate method,
...
since this also have to done by the new readTopologyOnly method
2021-10-27 11:28:18 +02:00
Knut Morten Okstad
fc57eed844
Added: public method SIMinput::readTopologyOnly()
2021-10-27 11:20:41 +02:00
Knut Morten Okstad
d1520df805
Added: protected method XMLInputBase::loadFile()
2021-10-25 21:53:15 +02:00
Knut Morten Okstad
ed32443cf5
Changed: RealArray instead of Vector for setSolution and updateRotations
2021-10-20 12:42:03 +02:00
Knut Morten Okstad
e3631fd746
Changed: Initialize h to 0 - not 1 - like for NewmarkMats (consistency)
2021-10-20 12:11:50 +02:00
Knut Morten Okstad
31e288e62b
Changed: Use std::vector instead of utl::vector in the vector field
...
access methods, since they (or their users) don't really need
the linear algebra features that come with the utl::vector class
2021-10-20 12:11:50 +02:00
Knut Morten Okstad
d66cc98f25
Changed: Declare array arguments as RealArray instead of Vector
...
when the linear algebra functionality of the latter is not used
2021-10-20 12:11:50 +02:00
Knut Morten Okstad
685e849948
Changed: Use std::vector instead of utl::vector as argument types
...
in the [inject|extract]NodeVec methods, for increased flexibility.
2021-10-20 12:10:29 +02:00
Knut Morten Okstad
bdeacb8eef
Fixed: eval2ndSolution should do nothing if opt.pSolOnly is true.
...
Changed: Return true if myVtf is null in all the writeGlv methods.
Then there is no need to check for domain decomposition and procId>0
since myVtf will always be null in that case.
Removed evalProjSolution, use writeGlvP with iStep=0 instead.
2021-10-14 08:19:06 +02:00
Arne Morten Kvarving
2fa4ede9ed
fix gtest with ninja
2021-10-13 15:56:27 +02:00
Arne Morten Kvarving
a2f23a8cdf
fixed: also build extra app dirs for the main module
2021-10-13 13:32:18 +02:00
Arne Morten Kvarving
573ce9199f
fixed: add missing initializer
2021-10-12 11:17:07 +02:00
Arne Morten Kvarving
5413ce3539
add IFEM-CoSTA to common App build system
2021-10-11 11:43:36 +02:00
Knut Morten Okstad
d7ee36657e
Changed: Made the second overloaded finalizeElement method
...
protected, such that all ASM-classes are forced to use the
version providing the most general interface.
Changed: No need to assign time to the Vec4 object within
the integration loop, doing it on construction instead.
2021-10-11 07:41:39 +02:00
Knut Morten Okstad
65c36818e3
Added: LHS-matrix buffers for linear Newmark integration
2021-10-08 13:19:25 +02:00
Knut Morten Okstad
1b58b79d5b
Added: <nupdate> tag for NewmarkSIM.
...
Fixed: Missing newTangent in NonLinSIM::solveIteration.
2021-10-08 13:19:25 +02:00
Knut Morten Okstad
3089611cdc
Changed: Derive class BDFMats directly from ElmMats.
...
It has nothing to do with the Newmark methods.
2021-10-08 13:19:25 +02:00
Knut Morten Okstad
bb95b66a7c
Changed: No default value on the number of bases
2021-10-08 13:19:25 +02:00
Arne Morten Kvarving
b4ac1494a2
fixed: use multiplication instead of shift operator
...
this implicitly casts to int in the process.
if not the shift makes little sense as everything is done
for an unsigned char
2021-10-08 10:46:51 +02:00
Knut Morten Okstad
35b4aa95fa
Changed: AdaptiveSIM::savePoints does not need a time argument,
...
as this class is for static/stationary problems only. The iStep
argument is not a time step counter, but a refinement step counter.
Also, the method is made protected.
2021-10-08 10:46:51 +02:00
Knut Morten Okstad
458b245b9f
Changed: Removed unused newLHS argument in SIMbase::solveSystem()
2021-10-08 10:46:51 +02:00
Knut Morten Okstad
62ecb75f55
Changed: Removed the newLHS argument in the SystemMatrix::solve().
...
It was used only by PETScMatrix but also there we can use the
factored member inherited from SparseMatrix.
2021-10-08 10:46:51 +02:00
Knut Morten Okstad
9ffa4c49c8
Changed: Removed bool argument to SparseMatrix::solve (unused).
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
4230fe7495
avoid shadowing variables
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
6314afc628
remove unused variable
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
24456cb047
remove code that is unreachable
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
88bcd66794
mark some constructors explicit
2021-10-08 10:46:51 +02:00
Arne Morten Kvarving
ef2aca116d
fixed: missing member initialization
2021-10-07 11:44:02 +02:00
Arne Morten Kvarving
3e9014c8d0
make some things const where possible
2021-10-07 11:44:02 +02:00
Arne Morten Kvarving
a75a0c7158
small reorganizations to aid static analyzers
2021-09-30 20:22:56 +02:00