Kjetil Andre Johannessen
31189d58ed
C++: Changed NULL to nullptr EVERYWHERE
2016-01-31 13:49:44 +01:00
Kjetil Andre Johannessen
e2a3e5ecc3
Added: SIMgeneric::evalPoint(). Speedup: LRspline2D evaluation through Bezier extraction
2016-01-31 13:49:44 +01:00
Kjetil Andre Johannessen
ec482d4ff7
Refactor: Moved "nsd" variable and evalSol function to IntegrandBase
2016-01-31 13:49:44 +01:00
Kjetil Andre Johannessen
411ba53495
Cosmetics: Swapped tabs for spaces (all of Utility folder)
2016-01-31 13:49:44 +01:00
Kjetil Andre Johannessen
fd5e444f92
Defaults: glview field names need not be specified
2016-01-31 13:49:43 +01:00
Kjetil Andre Johannessen
a4d79755dd
Defaults: removed "patch" keyword in singlepatch xinp-files
2016-01-31 13:49:43 +01:00
Kjetil Andre Johannessen
38a0d5724b
Added: New refinement schemes based on thresholding error
2016-01-31 13:49:43 +01:00
Kjetil Andre Johannessen
8db5f8ee4e
Added: Vector and Matrix operator overloading
2016-01-31 13:49:43 +01:00
Kjetil Andre Johannessen
37aaf391d9
Added: Vec3 elementary operations
2016-01-31 13:49:43 +01:00
Kjetil Andre Johannessen
7c695ed407
Added: now dumping all system matrices to raw ASCII files instead of just one
2016-01-31 13:49:43 +01:00
timovanopstal
e4f38f15f3
fix: 2D integral gets element corners if necessary.
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
2df22eeccb
added: support mixed hessians in 2D
...
cannot add in 3D as GoTools lack the necessary functionality
to evaluate second derivatives for trivariates
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
80f88bc6d1
fixed: initialize members
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
844b5b2019
simplify petsc support
...
uses pkgconfig
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
97c787435e
fixed: build if petsc is built with hypre support
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
41a4141be9
fixed: properly probe for cxx11 support
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
06b8996b4c
import cmakerules
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
6947e35360
changed: make NormBase::getField return a std::string
...
users should not have to deal with C string handling
and static members
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
0ba0c4b0c9
changed: the getFieldXName methods in Integrands to use a std::string
...
user applications should not to deal with C string handling and static
members
2016-01-31 13:49:43 +01:00
timovanopstal
85a2463b02
fix: compiler warns that WA may remain uninitialized.
2016-01-31 13:49:42 +01:00
timovanopstal
b40ed1eda8
fix: regtest for OS X
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
2c9e9661e9
added: basic adaptive support for mixed LR simulators
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
02194fd19e
fixed: conversion of LR hdf5 files
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
5cd603aabf
added: support for interpolating vectors onto refined mesh
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
ec4ddf25ea
changed: make some methods in AdaptiveSIM virtual
...
will be used for SIMSolver based adaptive simulators
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
022dac633f
added: option to specify which norm to adapt based on in adaptive simulations
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
c32274a3c2
changed: refactor LinSolParams class
...
- change from a struct-of-arrays to an array-of-structs storage scheme
- group ML/GAMG/Hypre settings in their own class
- generalize block syntax. any number of blocks, on any basis,
is now supported (just on the configuration side for now, still
hardcoded to 2 blocks on first basis as earlier)
- add unit tests for parsing
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
bc0e326880
added: reynolds number scaling to navierstokesvms
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
f7cc0a3ed5
changed: introduce ResidualOperator helpers and use in NavierStokesVMS
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
fc467e5e36
sanity check: check that integration has been inited in solutionNorms
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
9dab55300b
added: allow passing dof type to solutionNorms()
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
3155e28aa6
added: inhomogenous dirichlet boundary conditions using lr splines
...
requires an updated librlspline
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
92a971f5d4
added: Matrix::fillBlock helper
...
fills a block of a matrix
2016-01-31 13:49:42 +01:00
Knut Morten Okstad
4b295c74e5
Added: myPtFile as member in SIMoutput with methods for parsing the file name.
...
This replaces the need for having the pointfile variable in various sub-classes.
Changed: The _coord.dat file is written only if <dump_coordinates/> is given.
2016-01-31 13:49:42 +01:00
Knut Morten Okstad
431ef17679
Changed: Do not skip singular points during evaluation of secondary solution.
...
The integrand is now responsible for handling such cases inside evalSol.
A singular point is flagged by that fe.detJxW equals zero.
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
9f347a65ec
Changed: Splitted the old writeGlvS method into two methods, the first one
...
takes care of the primary variables and the second one the secondary variables.
The new writGlvS method then just calls these two one after the other.
Added: Output of principal stress direction vectors in WriteGlvS2.
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
c9cdd07db9
Added: Default empty implementation of SIMCoupled::setupDependencies
...
such that the class can be used directly without a derived sub-class.
Changed: bool return value for the init and postSolve methods.
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
a7cb685960
fixed: mark tests with non-zero exit codes as failures
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
b29666f6d5
Added: Evaluation of principal stresses and associated direction vectors.
...
The principal direction vectors are stored in an internal buffer, and a
virtual method to retrieve the evaluated vector at all result points
is provided in the IntegrandBase interface.
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
2d1bca12d0
Changed: Return principal vectors through a Vec3* instead, for usability.
...
Added: Unit-testing of principal direction vector calculation.
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
df136ff36b
Changed: Using getPatch(loc)->write() instead of the dumpBasis() method,
...
to be consistent with the other patch-level operations in this class scope
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
3121cc3d61
fixed: make default base for check-commits origin/master, not trunk
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
cc0552f9b2
added: call finalizeElement for boundary integrals
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
708054f34e
Fixed: Wrong velocity and acceleration if converged in first iteration
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
7d9f30c31b
added: option to quell printout in parseRealFunc
...
use this in the initial condition handler
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
51ad0928de
Removed not-needed initializers for ASMu2Dmx constructor arguments, and
...
replaced the {}-type initializer which does not go well with gcc 4.6.3.
Added: Check for class type ASMu2Dmx in ASM2D::clone (for completeness).
Changed: Using std::vector<unsigned char> in ASM3D::clone also.
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
a4b843461b
added: support for mixed LR splines in 2D
2016-01-31 13:49:41 +01:00
Knut Morten Okstad
a07677019b
Changed: gcc 4.6.3 does not like the {}-initializers for std::vector.
...
Also removed some default values for arguments that are not needed.
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
8420c1e643
changed: allow passing any number of bases in the SIMxD constructors
2016-01-31 13:49:41 +01:00
Arne Morten Kvarving
f2b51ae542
added: support general mixed in the data exporter
2016-01-31 13:49:40 +01:00