Commit Graph

1762 Commits

Author SHA1 Message Date
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
Arne Morten Kvarving
d736371552 add multithreading for LR models 2017-03-10 12:50:32 +01:00
Knut Morten Okstad
00a70cc9f5 Added: On request, support for <discretization type="Triangular"/>
as well as the command-line option -triangle
2017-03-08 12:43:52 +01:00
Knut Morten Okstad
03cdfba35c Changed: Simplified potentially confusing NormBase::getNoFields logic.
Changed: Resize LocalIntegral::vec to have no empty vector at the end.
2017-03-08 12:43:52 +01:00
Arne Morten Kvarving
604ec44671 changed: allow specifying number of components in vector field
useful when writing vector fields derived from a scalar equation
2017-03-08 11:32:33 +01:00
Arne Morten Kvarving
cdf964810f update jenkins build scripts to use new, public repos 2017-03-07 12:36:01 +01:00
Arne Morten Kvarving
2539eda344 added: generate [Edge|Face]xPatches and InnerPatches topology sets
these contain the patches touching the relevant boundary
and those not touching any boundary respectively.
2017-03-01 14:19:26 +01:00
Knut Morten Okstad
b8ea67093e Added: New patch class for 2D triangular elements (currently linears only) 2017-02-28 16:00:51 +01:00
Knut Morten Okstad
c143947808 Added: Support for linear triangles in VTF export 2017-02-28 14:47:40 +01:00
Knut Morten Okstad
63b1a510a4 Fixed: Account for multithreading when assembling scalar quantities 2017-02-27 11:17:56 +01:00
Knut Morten Okstad
091c5a522e Fixed: SIMbase::getWorstDofs should also use the iteNorm flag 2017-02-27 11:17:56 +01:00
Knut Morten Okstad
81edcadbe8 Added: Assembly of scalar quantities together with the equation system.
Added: Debug print of extracted element solution vectors.
Changed: Default value of argument witRF in SIMbase::initSystem to false.
Changed: Removed three spaces in the summary print for scalar solutions.
Fixed: Index error in the second getCurrentReactions method.
2017-02-27 11:17:56 +01:00
Eivind Fonn
2250ca5d45 Added: Force scalar parsing of neumann condition if direction > nsd 2017-02-17 11:20:32 +01:00
Knut Morten Okstad
e894688ecf Added: Print analytic solution at the result points, when available.
Added: Utility method SIMbase::getReactionForces.
Use this in the apps instead of myEqSys->getReactions().
2017-02-16 10:47:03 +01:00
Arne Morten Kvarving
5a43bd6617 add extra braces around initializer list
clang will toss a warning otherwise
2017-02-15 12:09:05 +01:00
Arne Morten Kvarving
9beae5d47e fixed: add const qualifier
base class exposes a virtual createG2 so the
override needs to follow suite to avoid warnings.
2017-02-15 12:09:05 +01:00
Arne Morten Kvarving
fcc9d8cc10 fix connectPatch for mixed Lagrangian ASMs
new parameters were added to the virtual method
it was supposed to override.

oh 'override' my 'override' how i miss you.
2017-02-15 12:09:05 +01:00
Arne Morten Kvarving
0b8041788d put some members under HAVE_MPI to avoid warnings 2017-02-15 12:09:05 +01:00
timovanopstal
7b067ee27e add: missing using statement 2017-02-15 12:09:05 +01:00
timovanopstal
8dcebc670e add: manually change precision of pointdata 2017-02-14 14:53:28 +01:00
Arne Morten Kvarving
6b3dbd8a1e fixed: allow usage of <periodic> in parallel
need to use number of global patches, check local patch index
like everything else.
2017-02-09 16:50:26 +01:00
timovanopstal
bd4692198b add: cleanup status, ignore common apps/build folders 2017-02-06 09:09:10 +01:00
Arne Morten Kvarving
f1b9e82060 changed: move doxy target code to a macro
i forgot to test the common app build way of doing things.
this complicated things enough to warrant a macro
2017-01-31 12:17:04 +01:00
Arne Morten Kvarving
a37e6dc6f5 changed: adjust doxyfile for reuse in applications 2017-01-30 15:54:31 +01:00
Arne Morten Kvarving
3aefbb22ba fixed: bound for maximum number of non-zeros
they are bound by the number of columns, not the number of rows.
2017-01-30 10:15:44 +01:00
Arne Morten Kvarving
65f94d4773 fixed: fix i2 counter in ASMs3Dmx::integrate
it's hard to tell the history of this line, as it
came in with the multithreading code many moons ago.
in either case it was differing between the mixed and non-mixed
ASM. this brings it in line with the non-mixed code, which was correct.
2017-01-30 10:15:44 +01:00
timovanopstal
bcd96510f8 fix: make lambda variable instead of rref (icc compiler error) 2017-01-27 13:08:31 +01:00
Arne Morten Kvarving
06caf358e1 fixed: compare basis of connections in ghost connection set comparison function
if not connections where only the basis to connect differed
were considered to be the same, and thus not inserted into the set.
2017-01-25 15:05:38 +01:00
Knut Morten Okstad
e783672046 Changed: For consistency, use Real (not double) for Tensor arguments.
Fixed: Potentially unitialized variable in ASMs1D::getBoundaryNodes.
2017-01-24 17:22:10 +01:00
Knut Morten Okstad
9fc274c65e Added: Optional second argument to the solveStep method telling
which one of the two sub-step solvers to invoke first.
2017-01-24 16:04:03 +01:00
Eivind Fonn
b3189441f5 Added: Tensor::diag 2017-01-24 14:35:46 +01:00
Arne Morten Kvarving
ff8364f386 added: option to execute serial regression tests in parallel builds
defaults to true. option is needed to aid CI
2017-01-23 10:24:05 +01:00
Knut Morten Okstad
c509e57960 Various cleanups after the subdivision merge (PR #83):
This should have been squashed with e2a7928216
for SIM1D, and 9930e34b29 for the others.
Essentially, move the createFEMmodel call inside the createTopology method.
The orientation flag is irrelevant in 1D.
Some doxy corrections.
etc.
2017-01-19 17:18:53 +01:00
Knut Morten Okstad
d69f05d937 Changed: Moved the checkConvergence method to SIMCoupledSI as this method
has no relevance for the parent class SIMCoupled. Moved the updateDirichlet
calls into the solveIteration methods of the nonlinear solvers.
Added maxIter as member in class SIMCoupledSI.
2017-01-17 18:06:25 +01:00
Knut Morten Okstad
89faa82c6f Fixed: When doing sub-iterations, update the reference norm
in the first nonlinear iteration for the first sub-iteration only.
Otherwise, the convergence check might become too strong.
2017-01-17 18:06:25 +01:00
Knut Morten Okstad
348d0e1b50 Added: Output of stiffness-matrix condition number during iterations 2017-01-17 18:06:25 +01:00
timovanopstal
7ba774bbc2 add: unit tests 3d subdivision 2017-01-17 15:21:13 +01:00
Arne Morten Kvarving
a6a9a1d71b make domain decomposition work with subdivisions 2017-01-17 15:21:12 +01:00
Arne Morten Kvarving
1a1a940bf5 fix: tesselation 2017-01-17 15:21:12 +01:00
timovanopstal
e2a7928216 add: subdivision model generators and tests 2017-01-17 15:21:12 +01:00