Commit Graph

2007 Commits

Author SHA1 Message Date
Arne Morten Kvarving
98a067d439 changed: bump hosted gtest to v1.8.0 2018-08-09 09:58:11 +02:00
Arne Morten Kvarving
4b341216c4 added: support for the dörfel marking strategy
mark elements/functions which contributes beta% to the total error
2018-08-07 08:52:49 +02:00
Arne Morten Kvarving
dc4bd9bdce fixed: we need to evaluate nb[b] before incrementing b 2018-08-03 11:50:02 +02:00
Knut Morten Okstad
d5d3adcdb5 Added: Dirac-delta integration for structured patches 2018-08-02 14:08:20 +02:00
Knut Morten Okstad
6dec4086af Added: Support for integration of dirac-delta functions.
This can be used as interface for element point loads.
2018-08-02 14:08:20 +02:00
Knut Morten Okstad
770572410c Changed: Can now use dumpMatlabGrid without SAM for single-patch 2018-08-02 14:08:20 +02:00
Knut Morten Okstad
1910f350f3 Added: Utilities ASMbase::getElementNodes and SIMbase::getElmNodes 2018-08-02 14:08:20 +02:00
Knut Morten Okstad
b8695d24d4 Added: Array elem_size is now member in ASMmxBase so it can be set initially.
Fixed: getNoNodes returned wrong value when the argument was negative.
2018-07-30 21:19:44 +02:00
Knut Morten Okstad
1f6c033861 Changed: Some cosmetics in [extract|inject]NodVecMx to clarify logic.
Added: Array elem_size as member in ASMmxBase so we don't have to
recalculate it over and over again.
2018-07-27 07:09:19 +02:00
Arne Morten Kvarving
4b804a98de added: framework for IO (VTF and HDF5) regression tests 2018-07-24 11:27:40 +02:00
Arne Morten Kvarving
c88d417860 added: -vtffile and file attribute to <vtfformat> tag
allows specifying the vtf file to use
2018-07-24 11:27:40 +02:00
Knut Morten Okstad
26499b6685 Fixed: The commit d451b1cd5d was no good.
It broke the nonlinear shell VTF output in that the sqrt(u^2+v^2+w^2)
quantity disappeared. Now doing this a different way instead not relying
on the nf-parameter, but using a separate ID-array for the exact fields.
2018-07-24 11:27:40 +02:00
Knut Morten Okstad
d451b1cd5d Fixed: Incorrect nf in SIMoutput::writeGlvS1 for mixed problems 2018-07-19 10:06:04 +02:00
Knut Morten Okstad
3a9a8ae65e Added: Optional arguments for setting the output precision in
AdaptiveSIM::solveStep and AdaptiveSIM::adaptMesh
2018-07-19 09:59:03 +02:00
Knut Morten Okstad
4c6d82eb73 Fixed: Clear the threadGroups before (re)generating them.
Added: Implementation of ASMunstruct::findClosestNode.
Changed: Some cosmetics in other ASMunstruct methods.
2018-07-19 09:59:03 +02:00
Knut Morten Okstad
607c9771cf Changed: [extract|inject]PatchSolution signature + some HDF5Writer cleaning 2018-07-16 23:06:20 +02:00
Knut Morten Okstad
f94a20126a Changed: This test program does not need a dummy integrand 2018-07-16 19:36:49 +02:00
Arne Morten Kvarving
ff171e50f4 changed: change cppcheck tests so we can use jenkins reporter plugin 2018-07-16 15:30:22 +02:00
Arne Morten Kvarving
88a684d440 move reference data from external files into source files 2018-07-03 10:10:09 +02:00
Knut Morten Okstad
48dad1c76a Changed: Exit the prediction cycle loop, and subsequently the
entire simulation if a user-defined stop criterion has been met,
by checking S1->stopped()
2018-06-28 12:22:41 +02:00
Knut Morten Okstad
f0b601b796 Fixed: force thread strip direction for patches with collapsed edges 2018-06-28 11:35:39 +02:00
Arne Morten Kvarving
c8c0e6297c Added: Flag for forced the thread strip direction.
Added: Private method for debug print of group defintions.
Changed: Put more code inside the ifdef USE_OPENMP.
2018-06-28 11:35:27 +02:00
Knut Morten Okstad
598c09c4dd Fixed: The linearized c0-coefficient of multi-point constraint equations
with master dofs should not be updated in the first iteration,
unless it have a non-zero value from a prescribed movement.
Changed: Using range-based for loops in SAMpatch methods.
Added: Some more descriptive error messages from SAM::initSystemEquations().
2018-06-28 11:04:12 +02:00
Knut Morten Okstad
ccbc26b5fc Changed: Moved common code for VTF-output of scalar fields to a private
helper method for reuse. It is also made more flexible with respect to
the number of field components. No more pMAX and sMAX parameters.

Added: Virtual method IntegrandBase::primaryScalarFields for application-
specific derived primary solution quantities.
2018-06-28 11:04:12 +02:00
Arne Morten Kvarving
020f0add70 Added: Support extra application sub-directories in repositories 2018-06-28 11:04:12 +02:00
Knut Morten Okstad
93dd9d19d1 Added: Build of new ShellEl application 2018-06-28 11:04:12 +02:00
Knut Morten Okstad
51b9adabda Added: Calculation of updated element coordinates
when the integration type contains UPDATED_NODES
2018-06-28 11:04:12 +02:00
Knut Morten Okstad
86265d9e50 Added: matrix3d::multiplyMat and matrix3d::fillColumn.
Added: More matrix-vector multiplication operators.
Added: Empty virtual destructor in class matrix since it has a parent class.
2018-06-28 10:07:12 +02:00
Knut Morten Okstad
094fa4a689 Added: Some special dirichlet types representing symmetry conditions.
Relevant for C1-continuous patches only (ASMs1DC1 and ASMs2DC1).
2018-05-04 06:43:04 +02:00
Knut Morten Okstad
45bee0621a Fixed: Interpretation of the dof flag when constraining C1-patches 2018-05-03 08:59:24 +02:00
Knut Morten Okstad
133ccdc309 Changed: Print proper interpretation of the nGauss variable 2018-05-01 17:38:27 +02:00
Knut Morten Okstad
ae877387cb Fixed: Some errors introduced in d5fa8eac03 2018-05-01 17:38:27 +02:00
Knut Morten Okstad
0aab0de863 Added: TimeDomain& argument in the virtual externalEnergy method 2018-05-01 17:38:27 +02:00
Knut Morten Okstad
c0d97367eb Changed: ScalarFunc is now a sub-class of utl::Function<Real,Real>.
Added: Virtual method for calculation of derivative of scalar functions.
For expression functions the derivative can be evaluated through a separate
user-specified expression, or numerically by a finite difference approach.
2018-05-01 12:32:19 +02:00
Knut Morten Okstad
d5fa8eac03 Changed: Continue supporting old file structure also + corrected spacing 2018-04-26 11:33:31 +02:00
Knut Morten Okstad
095c671396 Added: Virtual method printStep for app-specific time step headers 2018-04-26 11:33:30 +02:00
Arne Morten Kvarving
3167d115a1 update IFEM description in README 2018-04-19 13:39:40 +02:00
Arne Morten Kvarving
a8df55c32f update generic CMakeLists 2018-04-19 13:35:01 +02:00
Knut Morten Okstad
98b5212424 Added: Convenience method SIMoutput::hasResultPoints 2018-04-12 11:06:40 +02:00
Knut Morten Okstad
a8afaae019 Added: Number of values to print per line in the result point output 2018-04-10 08:54:23 +02:00
Knut Morten Okstad
9db398f095 Added: Attribute default="x" on the <nGauss> input tag,
to specify the default Gauss scheme, relative to the actual polynomial order
2018-04-09 21:08:25 +02:00
Kjell Magne Mathisen
3c4cde49f0 Changed: Use Values() instead of ValuesIn() since the former syntax
also compiles on Ubuntu 14.04 with gcc 4.8
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
8374c8b293 Added: Define quadrature scheme automatically from polynomial order.
A non-positive value of nGauss is interpreted such that the number of
Gauss points is equal to p+nGauss, where p is the polynomial order.
Changed: Using FiniteElement::operator<< for debug print.
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
536ab5bfd1 Fixed: Let the fourth digit from right define clamped BC for C1-elements.
Added: Possibility to linear-couple more than one dof per dirichlet-command.
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
c8bbe42a6d Added: Hessian calculation for shells, stored in FiniteElement::H.
Added: Store polynomial degree in each direction in FiniteElement::p,q,r.
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
f578ac69ef Changed: Use createFEMmodel() instead of preprocess() when sufficient,
and also use EXPECT_* instead of ASSERT_* when possible, to check all
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
ac6c1c3a6b Fixed: Account for that the number of space dimensions in a patch
can be less than the number of coordinates on file
2018-04-09 21:08:25 +02:00
Knut Morten Okstad
f9754b1912 Added: Geometry mapping for shells (two-parametric models in 3D space).
Changed: No need to provide the basis size to FiniteElement constructor.
2018-04-09 21:08:16 +02:00
Knut Morten Okstad
a1199376e2 Changed: Use createFEMmodel instead of preprocess when testing the
the coordinate mappings. That is sufficient since boundary conditions,
integrands, etc. are not needed for these tests.

Inline the comparison values to avoid dependency on data files
(such that the test-program can be run from an arbitrary working dir).
2018-03-22 10:09:47 +01:00
Knut Morten Okstad
dc9c862e27 Fixed: npv is not used when mixed 2018-03-19 12:31:00 +01:00