Commit Graph

1762 Commits

Author SHA1 Message Date
timovanopstal
026bc22955 add: doxy TopItem 2017-01-17 15:18:18 +01:00
timovanopstal
9930e34b29 extend: addConnection to thick overlaps
this adds the possibility to establish connections
with non-trivial overlap.

in the process make the serial connectPatch and the parallel
DomainDecomposition share more code.
2017-01-17 15:13:14 +01:00
Arne Morten Kvarving
38858395b0 added: option to return local node numbers in getBoundaryNodes 2017-01-17 15:13:12 +01:00
Knut Morten Okstad
a4fcd0d594 Fixed: Wrong placement of end parantesis 2017-01-10 15:48:34 +01:00
Arne Morten Kvarving
2561de1bed fixed: default number of smoothing steps in amg to 1
iterative smoothers were broken
2017-01-06 13:15:45 +01:00
Arne Morten Kvarving
d380c1d36c fixed: gmres reset iterations is not the same as solver restarts
issue was inherited from old petsc code
2017-01-06 13:14:49 +01:00
Knut Morten Okstad
9f37960e86 Added: protected method SIMinput::parseTopologySet used by the
<refine> and <raisorder> tags, which also allows specifying a
topology set defining the patch(es) to refine
2017-01-05 10:59:53 +01:00
Knut Morten Okstad
c2ff234806 Changed: Use forward-declarations instead if including SIMbase.h
Added: Dummy implementation of createFEMmodel.
2016-12-20 08:11:06 +01:00
Knut Morten Okstad
b4c6e90593 Added: Central grading using a 5th order function (credit T. Gerasimov) 2016-12-20 08:11:06 +01:00
Knut Morten Okstad
c6575b6d5d Added: static member dbgElm used to activate debug print for one element 2016-12-20 08:11:06 +01:00
timovanopstal
9ef54c37cf add: skew-symmetric integrand, make code DRY, fix: conservative 2016-12-16 07:09:25 +01:00
timovanopstal
48801295b5 add: enum for form of convection operator 2016-12-16 07:09:25 +01:00
Knut Morten Okstad
fccea559f1 Changed: Removed option to suppress print during parsing (not needed).
Added: type="expression" as default.
2016-12-15 14:17:18 +01:00
Knut Morten Okstad
161aceaac2 Changed: Use createFEMmodel instead of preprocess when testing FE topology.
Added: Some static helper functions for doing identical tasks in the test.
2016-12-15 14:17:18 +01:00
Knut Morten Okstad
e0bfbe7247 Added: New class SIMinput sitting between SIMbase and SIMoutput in the
SIM-hierarchy. It contains all general model definition methods (input-
file parsing, property setup, initial conditions, adaptive refinement).

Changed: Renamed the virtual createModelGenerator to getModelGenerator
plus some cosmetics in console feedback during default model generation.

The latter will require updates of the apps relying on model generators
and regression tests because of cosmetic correction of console feedback.
2016-12-15 14:17:18 +01:00
Arne Morten Kvarving
df17ab5538 fixed: missed updating the lagrangian ASM drivers in 383390ebba
oh override how i miss you
2016-12-15 12:25:45 +01:00
Arne Morten Kvarving
78b6096f88 put sanity check of thread groups in a shared method
avoids some code duplication
2016-12-15 11:21:55 +01:00
Arne Morten Kvarving
383390ebba changed: introduce a flag to ignore global multipliers in multithreading sanity check
apps can be structured so that this is okay. this is done in the CFD
applications that is the main consumer of this functionality.
this suppresses scary (but actually harmless) warnings
2016-12-15 11:21:55 +01:00
Kjetil Andre Johannessen
1a346dba8b Non-homogenous dirichlet BC for 2D LR-splines 2016-12-14 17:24:41 +01:00
Knut Morten Okstad
4e8fa1ede4 Fixed: Avoid zero-length array that is written to (caused crash on clang) 2016-12-13 16:33:18 +01:00
Knut Morten Okstad
1a43e1c694 Changed: Renamed the base class SIMinput to SIMadmin 2016-12-13 14:55:35 +01:00
Knut Morten Okstad
4a5bafaa45 Added: Overloaded getAttribute function returning a char.
Removed obsolete function printSyncronized.
2016-12-13 12:08:49 +01:00
Knut Morten Okstad
e7601f9e3c Added: Option for geometric graded time increments 2016-12-07 07:25:11 +01:00
Knut Morten Okstad
53338e6521 Fixed: Let parseBCTag return false on function parsing failure instead of
a null pointer in the scalar function map which causes seg-fault later on
2016-12-07 07:22:20 +01:00
Eivind Fonn
284406d6a5 Merge pull request #89 from akva2/optimize_outer_product
added: use BLAS in outer_product
2016-12-06 11:32:11 +01:00
Arne Morten Kvarving
faa0e9adf0 add CompatibleOperators::(Residual|Weak)::Convection 2016-12-05 09:54:21 +01:00
Arne Morten Kvarving
83073f06f2 added: use BLAS in outer_product 2016-12-02 13:32:38 +01:00
Knut Morten Okstad
85a7024501 Added: Unit test for NonLinSIM with line search 2016-11-29 11:11:34 +01:00
Knut Morten Okstad
cae3aa4e8e Changed (cosmetic): Move more stuff into the TestProjectSIM constructor
to avoid repetition of identical code
2016-11-29 06:10:13 +01:00
Knut Morten Okstad
4e260b96e2 Changed: SIMgeneric::createDefaultModel returns true if successful.
Removed unused/obsolete method SIMdummy::createDefaultGeometry.
2016-11-29 06:08:34 +01:00
Arne Morten Kvarving
9615f33c30 added: utl:matrix::multiply() exposing the full gemv API
alpha, beta, strides and offsets
2016-11-24 10:37:09 +01:00
Arne Morten Kvarving
92b01e54a4 changed: unify (EqualOrder|Compatible)Operators::Residual::Laplacian
use positive sign in both
2016-11-18 16:04:41 +01:00
Kjetil Andre Johannessen
691565d575 Cosmetics: space after "if" in src/ASM/LR/* 2016-11-18 14:47:35 +01:00
Kjetil Andre Johannessen
5a8ea08f2a Cosmetics: cleared whitespace at line end src/ASM/LR/* 2016-11-18 14:47:35 +01:00
Kjetil Andre Johannessen
3af27da811 Cosmetics: swapped tabs with spaces in src/ASM/LR/* 2016-11-18 14:47:35 +01:00
Arne Morten Kvarving
a8bb09061e fixed: fix mixed mesh refinement
- the use of span_u_line was reversed
- need to set appropriate knot line multiplicities for taylor-hood
2016-11-18 14:02:20 +01:00
Arne Morten Kvarving
b4f6a65099 fixed: ASMu2Dmx: assume first basis only for truncated vector in evalSolution
fixes output of boundary conditions to VTF (and hinders a crash).
this is the same approach taken in the structured ASMs
2016-11-18 14:02:20 +01:00
Arne Morten Kvarving
8b677e0e88 fixed: add element corners to boundary integrals in ASMu2D(mx) 2016-11-18 14:02:20 +01:00
Arne Morten Kvarving
b2365bbeab fixed: implement ASMu2Dmx::getCoord
need to use the correct spline object for the requested node
2016-11-18 14:02:20 +01:00
Arne Morten Kvarving
877601c072 fixed: set 'geo' pointer from ASMu2D to correct basis in ASMu2Dmx 2016-11-18 14:02:20 +01:00
Arne Morten Kvarving
e82c490c1a fixed: implement ASMu2Dmx::getNoNodes() like other mixed ASMs
needed for using global lagrange multipliers
2016-11-18 14:02:20 +01:00
Kjetil Andre Johannessen
ba25c130b8 Added ASMu3D::getCorner() 2016-11-18 13:51:13 +01:00
Kjetil Andre Johannessen
44781a3ee7 Bugfix: 3D LR boundary integrals was not initialized 2016-11-18 13:51:13 +01:00
Kjetil Andre Johannessen
3b08fbbcb6 Comments, spelling and avoid integer problems (2->2.0) 2016-11-18 13:51:13 +01:00
Kjetil Andre Johannessen
66815bec75 Added: volumetric LR projections 2016-11-18 13:51:13 +01:00
Kjetil Andre Johannessen
21d52dbbff Bugfix: volumetric LR integrals 2016-11-18 13:51:13 +01:00
Kjetil Andre Johannessen
44c11000ce Speedup: LR evaluation by bezier extraction (also 3D boundary conditions) 2016-11-18 13:51:13 +01:00
Knut Morten Okstad
1294ed1148 Fixed: Update of the alpha parameter in NonLinSIM::lineSearch.
This has been incorrect all the time and therefore the lineSearch was not
working if doing more than 2 iterations. Also added setMode(RHS_ONLY),
in order to avoid unneccesary calculations on the integrand level when
doing the line search iterations.
2016-11-17 20:55:11 +01:00
Knut Morten Okstad
46b6834208 Changed: Always use SIMinput::adm::cout (and not IFEM::cout)
when printing norms and convergence history for the MultiStepSIM drivers.
2016-11-17 20:51:47 +01:00
Arne Morten Kvarving
ffb7db391e fixed: make sure to clear out old blocks in DomainDecomposition
if not, we end up with bad data in adaptive simulations since
the DomainDecomposition object is reused
2016-11-17 16:33:23 +01:00