Knut Morten Okstad
6ceb84993e
Changed: After the restart refactoring, fastForward and postSolve are no
...
longer needed in the solver templates. Also some doxy issues in SIMSemi3D.
2017-05-09 21:28:52 +02:00
Knut Morten Okstad
8765eb75e3
Changed: handleDataOutput is now a SIMSolver member
2017-05-09 05:24:34 +02:00
Arne Morten Kvarving
e1b2f6d1b3
move SIMOverride to IFEM-FSI
...
i would like to keep it where it is as it is of generic interest, but to workaround
artificial restriction on use of c++11, i am forced move it.
2017-05-05 15:30:24 +02:00
Arne Morten Kvarving
02d84c07e2
fix some issues introduce by virtualizing this function
...
you cannot mix virtual and overloads with a default parameter
making the methods indistinguishable.
2017-05-05 13:15:24 +02:00
Arne Morten Kvarving
784d8ee967
fixup wrong signature in SIMSemi3D
...
oh override how i miss you
2017-05-05 13:15:24 +02:00
Arne Morten Kvarving
508dc6acb1
changed: probe for compiler flags
...
increases portability (e.g. pgc)
2017-05-05 10:05:35 +02:00
Knut Morten Okstad
95c4434c4f
Added: A few more Matrix unit tests for sum() and norm2().
...
Changed: Using EXPECT_EQ instead of ASSERT_EQ to capture all errors and not
only the first. Avoid using tmpnam which sometimes gives compiler warnings.
2017-05-05 05:57:40 +02:00
Knut Morten Okstad
2e368af97a
Changed: Moved the global matrix-vector operations to MatVec.C
...
They belong better here, mostly because we want to retain matrix.h
a pure template file (no instantiations there).
Also added operator*(Vector&,Matrix&) assuming the transpose matrix.
2017-05-05 05:51:10 +02:00
Knut Morten Okstad
d108607d35
Added: Option to use projected solution for boundary integrands.
...
Fixed: Be more forgiving on the length of the norm prefix.
2017-05-05 05:51:09 +02:00
Knut Morten Okstad
0b0a365b38
Added: Calculation of characteristic element size in the FE framework
2017-05-05 05:48:51 +02:00
Knut Morten Okstad
21eb5a7bc3
Changed: Using EXPECT_FLOAT_EQ(a,b) instead of EXPECT_TRUE(a==b).
...
Then it is easier to see what is wrong, when something is wrong..
2017-05-05 02:19:49 +02:00
Knut Morten Okstad
5bf21a54f8
Changed: Collected indentical implementations for matrix and matrix3d
...
in a common base class matrixBase, to reduce amount of code duplication.
Added: Optional argument inc in the matrix[3d]::norm2 method.
Added: New methods asum and sum for matrix[3d].
Fixed: Some of the Non-BLAS fall-backs had errors.
2017-05-05 02:19:49 +02:00
Knut Morten Okstad
ebca327675
Added: Overloaded project method accepting a Vector as output argument
2017-05-05 02:19:40 +02:00
Arne Morten Kvarving
a76086e342
the documentation has been moved to the appropriate repository
2017-05-03 10:31:47 +02:00
Arne Morten Kvarving
0798ab4c8f
added: weak scalar Laplacian to ResidualOps
2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
f6e08a4048
update indices for new block matrices
2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
586ca0a871
added: Advection to ResidualOps
2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
906a89b0a7
added: support any number of scalar solutions in anasol
...
necessary for e.g. boussinesq where you have a velocity,
a pressure and a temperature field.
2017-04-25 13:04:18 +02:00
Knut Morten Okstad
762e35c5a4
Changed: The SIMgeneric::evalPoint method can optionally return
...
global node number as opposed to local patch-wise numbers, and
use SIMbase::getPatch in the SIMoutput::preprocessResPtGroup method.
2017-04-24 19:59:59 +02:00
Knut Morten Okstad
891798e639
Added: protected virtual method to renumber global node numbers in the model.
...
Applications that have private data depending on global node numbers
(e.g., nodal point load tables) need to overload this method.
2017-04-24 19:54:21 +02:00
Knut Morten Okstad
2f3f44ec63
Fixed: Must propagate the checkRHS flag through the SIMMultiPatchGen template too,
...
in case used for apps which had this option available (backward compatibility).
Also fixed a spell error in the doxy.
2017-04-22 16:54:14 +02:00
Arne Morten Kvarving
6e147607f0
fixed: mark constructor explicit to avoid unexpected implicit casts
2017-04-21 23:27:18 +02:00
Arne Morten Kvarving
c93bc6ac8d
added: input option for enabling/disabling element norm output
...
needs to be utilized in the applications
2017-04-21 23:26:56 +02:00
Arne Morten Kvarving
45da47d91d
add some missing doxy banners
2017-04-21 23:20:44 +02:00
Knut Morten Okstad
aed553a86a
Updated README.md with info on restart support
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
5fcd5fecae
added: support restart tests
...
these are tests where the output from a restarted simulation
is tested against a stored reference.
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
3714bf7838
changed: remove unnecessary wrapper function
...
the opt member is public
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
e7413d0d26
changed: redo restarting support
...
store restart data separate from visualization data.
this has several advantages:
- no unusual striding in visualization files due to multistep methods
- we can store data which are not on a per-control-point basis
- simplify logic
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
0c582050c3
added: <restartstride> under <postprocessing>
...
use this to control the restart data output stride.
defaults to 0 (no restart data output).
2017-04-21 23:20:44 +02:00
Knut Morten Okstad
02ce95de8c
Added: Error message when dynamics solver diverges
2017-03-31 07:19:23 +02:00
Arne Morten Kvarving
5bb5e5087d
fixed: extract the entire patch vector for fields
...
if number of components differ, the fields classes now
takes care of extracting the required components from the
full patch vector.
2017-03-27 12:17:04 +02:00
Arne Morten Kvarving
2cdf34bfaa
fixed: this is 3D so we have nGauss^3 integration points per element
2017-03-21 13:11:41 +01:00
Arne Morten Kvarving
e1f6f6d1af
no need to copy C matrix
...
make evaluateBasis take const references to make this possible
2017-03-21 13:11:41 +01:00
Knut Morten Okstad
3e84d8a661
Added: An overloded writeGlvS method that writes a single scalar field.
...
Equvialent to writeGlvV, but output as fringe plot instead of vectors.
2017-03-20 13:13:14 +01:00
Knut Morten Okstad
6c689560bb
Updated README.md on the dependent modules
2017-03-20 13:12:19 +01:00
timovanopstal
3298d3727b
Merge pull request #121 from timovanopstal/matrix3d
...
functionality in utl:matrix3d
2017-03-16 07:43:55 +01:00
timovanopstal
08f4f1353f
add: matrix3d read from/dump to stream plus test
2017-03-16 07:41:24 +01:00
Arne Morten Kvarving
bd14b9c0ee
add getNoBasis to SIMSemi3D
2017-03-15 16:10:45 +01:00
timovanopstal
d19cb71f28
fix: array initialization for apple clang
2017-03-15 10:04:38 +01:00
Arne Morten Kvarving
2cc7c74163
fix heuneuler coefficients
2017-03-15 09:54:16 +01:00
Arne Morten Kvarving
aa2b126e4b
fix bogacki-shampine coefficients
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
9f07a512d9
add a simple adaptive time stepping loop to the SIMExplicitRKE template
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
1827b028be
changed: make the BDF extrapolation method a template
...
useful to be able to operate on either vectors or scalars
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
e3ff468b66
fixed: return correct order for theta method
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
93d9b2274f
fixed: the scalar laplacian residual operator
...
use nsd instead of cmp
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
7fd11f2184
added: support for vector spline fields with separate bases for each component
...
used for coupled simulation with div-compatible discretizations
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
ef1513d7c8
fixed: extract proper components from field vectors with more components in field classes
...
- a field can be now instanced for a given component of a vector field
- a field can now be instanced for a given basis of a vector field
- fields can now be instanced for a field vector holding extra
components / bases.
used for directly registering dependency fields from solution vectors
in coupled simulations (RANS, Boussinesq, Chorin, ..)
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
6f5a4a5637
fixed: multithreading issues in spline classes
...
this is really suboptimal and severely hampers the
parallelism but there is no way around it. needs a fix
in GoTools
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
251e5f4051
add tests for SplineFields
2017-03-13 15:16:10 +01:00
Knut Morten Okstad
115721990a
Added: Option to store also the diverged solution on VTF before exit.
...
Added: Debug output of scalar quantities in AlgEqSystem::assemble.
2017-03-13 09:17:23 +01:00