Commit Graph

1762 Commits

Author SHA1 Message Date
Arne Morten Kvarving
bb3ab78c9c fixed: if using internal tinyxml, make sure to install header 2017-05-16 09:53:32 +02:00
Knut Morten Okstad
b88896e9a6 Added: An extra matrix3d method + test 2017-05-15 05:06:53 +02:00
Arne Morten Kvarving
a28e318d68 add extra braces around initializer list 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
dfe8072485 fixed: workaround portland compiler bug
precision(new_precision) returns new, not old precision as it should.
this is a non-intrusive workaround
2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
870e50833b add const - overload intended 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
d837afaf95 reorganize ifdef'ery to avoid warnings 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
34f411fadd avoid confusing and potentially error prone reuse of 'i' 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
392ad49073 no need to escape % in stream usage 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
d286949075 remove unused variables 2017-05-12 12:47:54 +02:00
Arne Morten Kvarving
2d937dfa55 add using statements to quell warnings 2017-05-12 12:47:54 +02:00
Knut Morten Okstad
f35429372c Fixed: Some more doxygen issues 2017-05-10 00:18:43 +02:00
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