Commit Graph

1982 Commits

Author SHA1 Message Date
Knut Morten Okstad
22ce232c2c Added: Option to specify a Neumann order flag (default=1).
A value higher than 1 is used when solving problems with
differential operator of order 2 (and higher), where you
typically need Neumann boundary conditions of two types.
E.g., for the biharmonic equation (thin plate problem),
you need to specify Neumann conditions involving both second
(bending moments) and third (shear forces) derivatives,
independently of each other.
2017-06-08 20:30:28 +02:00
Knut Morten Okstad
8a410d6298 Added: Scale characteristic element sizes by app-specified model size,
which can be specified as an attribute on the <geometry> tag
2017-06-05 15:41:58 +02:00
Knut Morten Okstad
b758eedbff Added: Unit tests for transformation and rotation angles extraction.
Changed: ASSERT --> EXPECT, to catch all potential errors.
2017-06-02 22:09:50 +02:00
Knut Morten Okstad
edf73cd1b6 Added: Extract total rotation angles for result point print 2017-06-02 22:09:50 +02:00
Arne Morten Kvarving
e6c12921da add static analysis tests 2017-05-31 22:20:49 +02:00
Knut Morten Okstad
8b4e1a99cc Fixed: The dofs and master node arguments were swapped in some add2PC calls 2017-05-23 16:58:31 +02:00
Knut Morten Okstad
34665a99a8 Changed: clang did not like the ++ operator inside the EXPECT_EQ macro 2017-05-23 16:58:31 +02:00
Arne Morten Kvarving
1a9292d35e changed: move wall law class to NavierStokes application 2017-05-23 14:52:38 +02:00
Knut Morten Okstad
13aee2fee3 Changed: Cleaned away some unused/defunct items from AdaptiveSIM 2017-05-23 08:38:46 +02:00
Arne Morten Kvarving
e14dd82b23 added: support LR multipatch models 2017-05-22 11:55:49 +02:00
Arne Morten Kvarving
52a6adfb07 changed: move connectPatch to ASMxD interface class 2017-05-22 11:55:49 +02:00
Arne Morten Kvarving
62714fa166 fixed: set a default docdir
also set the common executable directory in AppCommon
2017-05-22 11:05:25 +02:00
Arne Morten Kvarving
79fa468077 fixed: build of HDF5toVTx against system ifem 2017-05-18 09:50:50 +02:00
Arne Morten Kvarving
cc5d1e5a25 fixed: include directory variable name 2017-05-18 09:35:40 +02:00
Knut Morten Okstad
bf3ba37a20 Changed: Assume Voigt notation ordering when parsing expression functions
for symmetric tensors. To be consistent with the SymmTensor documentation.
This also fixes #87.
2017-05-17 16:41:01 +02:00
Knut Morten Okstad
6f0432ad16 Added: Derivatives of expression functions via separate expressions 2017-05-17 07:34:51 +02:00
Knut Morten Okstad
a84686438a Changed: Since RealFunc, VecFunc, etc. now are classes we can use forward
declaration of these instead of including Function.h in the headers,
in order to reduce dependencies during compilation
2017-05-16 19:47:15 +02:00
Knut Morten Okstad
7414379969 Added: Interface for evaluating function derivatives
Can be used for evaluating the residual of analytical solutions.
The default implementation returns zero, sub-classes have to
implement the derivatives when needed.
2017-05-16 19:47:15 +02:00
Knut Morten Okstad
0d454ce14c Fixed: 1D default geometry with nonzero X0 2017-05-16 19:39:06 +02:00
Arne Morten Kvarving
f57db931ac README: libcereal is only available for ubuntu 16.04+ 2017-05-16 10:19:54 +02:00
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