Commit Graph

1420 Commits

Author SHA1 Message Date
Knut Morten Okstad
7f6f7236da Fixed: Partly reverted 3de9c0440f
No error message when the integrand has no vector corresponding to
a registered dependent field.
2016-01-31 14:18:20 +01:00
Knut Morten Okstad
80dd1af29d Fixed: It seems like the foreach statement is executed once even if
UNIT_TEST_NUMBER is zero. It caused cmake-failure when executed on an
application with no unit tests present.
2016-01-31 14:04:02 +01:00
Knut Morten Okstad
ab874af5f6 Added: Initialization of member nsd in the IntegrandBase constructor.
Changed: Using sprintf instead of stringstream, since that is used elsewhere.
Changed: IntegrandBase::getNoSpaceDim does not need to be virtual.
Changed: Static function Ierror removed.
2016-01-31 14:04:02 +01:00
Knut Morten Okstad
6667e329ba Added: Lx, Ly and Lz attributes to default 3D geometries 2016-01-31 13:49:46 +01:00
Timo van Opstal
6b3954c502 added: COMPATIBLE integrand 2016-01-31 13:49:46 +01:00
Timo van Opstal
0d08357cb7 added: establish COMPATIBLE basis for Stokes 2016-01-31 13:49:46 +01:00
Kjetil Andre Johannessen
ecef4de55f Updated build instructions (front page on github) 2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
d28ced7495 added: ability to transpose block to add in addBlock 2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
c9218f7f17 added: a helper for interleaving vectors 2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
6958acfed7 fixed: do not execute library unit tests with an in-tree ifem 2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
cfcf0fb06c fixed: allow 4D analytical solution output to VTF
this is necessary for 3D CFD (u,v,w,p).

do this by using the scalar solution field for the pressure
2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
3357188686 changed: instantiate one expr function per thread
this avoids the need for a lock
2016-01-31 13:49:46 +01:00
Knut Morten Okstad
184b9c31e7 Fixed: The profiler can now be used also inside multi-threading loops. 2016-01-31 13:49:46 +01:00
Arne Morten Kvarving
4b2cde1154 fixed: number of components in tensor/stensor analytical solution evaluation 2016-01-31 13:49:46 +01:00
timovanopstal
d1adf474ec BLAS/accelerate related fixes 2016-01-31 13:49:46 +01:00
timovanopstal
7d0330c715 clang 3.7 related fixes 2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
b725819af4 added: SIMNodalConstraint
this is a wrapper for SIMxD which equips it with the
ability to constrain a dof on a patch / face / edge / vertex
to the same dof in a given vertex.

useful for applying rigid body motion to parts of a model.
2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
407b9e9bbc fixed: wrong order in gridEvaluator
the surface/curve methods have output as first parameter,
the volume has it as the third parameter. \o/ gotools!
2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
d5b076d0e6 fix offsets in ASMs3Dmx
caused out-of-bounds array access
2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
b3ac7b8188 changed: unify some methods in ASMu2D and ASMu2Dmx
same approach as in ASMs2D and ASMs2Dmx is now used
2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
77e43fd18d changed: make ASMsxD::getSize public 2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
61e13a1ea9 changed: make ASMbase::add2PC public 2016-01-31 13:49:45 +01:00
Arne Morten Kvarving
005ec63dde changed: bump gtest to version 1.7
required to support clang on osx
2016-01-31 13:49:45 +01:00
Knut Morten Okstad
0d2e30cde8 Added: New class for generalized-alpha time integration.
Changed: Calculate internal forces by integrating B^t*sigma also for
linear problems, instead of relying on K*d in NewmarkMats::getRHSVector.
2016-01-31 13:49:45 +01:00
Knut Morten Okstad
974557f37f Changed: Unified the class GenAlphaMats into the class HHTMats. 2016-01-31 13:49:45 +01:00
Knut Morten Okstad
797b05ac3e Added: Another MultiStepSIM::saveStep method taking the running block counter
as argument. For use when this simulator is a component in a coupled simulator.
Added: Option to save iteration results to the VTF file for a specified step.
2016-01-31 13:49:45 +01:00
Knut Morten Okstad
f0ed6a133a Changed: Simplified SIMsolver::parse, no need to check tag name here.
Added: Option in SIMSolver::solveProblem to save initial configuration to VTF.
Fixed: The SIMCoupled destructor must nullify the VTF file of the second
simulator since it points to the same VTF object as the first simulator.
2016-01-31 13:49:45 +01:00
Knut Morten Okstad
3de9c0440f Added: Error message when non-registered vector or field detected.
Changed: getName is now a virtual method in SIMdependency.
Changed: Default constructor for struct Dependency now accepts arguments.
2016-01-31 13:49:44 +01:00
Knut Morten Okstad
333484a946 Changed: Argument type of LogStream::addExtraLog is now a plain C-pointer,
hiding the fact that it uses shared_ptr internally. Also removed the
NullStream object. Instead, the internal ostream pointer is set to NULL.
Added: Default constructor for LogStream accepting a pointer as argument.
2016-01-31 13:49:44 +01:00
Knut Morten Okstad
c9031e8731 Changed: Unifying parsing of the projection method option into a common method. 2016-01-31 13:49:44 +01:00
Knut Morten Okstad
d8a4c5501d Changed: Made the Vec3Oper unit tests a little bit more challenging.
Changed: The global *-operator for symmetric tensors is renamed to ddot,
while adding a new *-operator multiplying two symmetric tensors.
Added: New method Tensor::outerProd and an overloaded method Tensor::principal.
Added: Missing default: in switch statements to satisfy picky compilers.
Added: class Tensor4 and a default constructor for SymmTensor4.
Added: Some math utilities in the utl namespace.
2016-01-31 13:49:44 +01:00
Arne Morten Kvarving
5c54db94eb added: implement mixed basis establishment with NURBS 2016-01-31 13:49:44 +01:00
Arne Morten Kvarving
8e3dbc473f added: support for rational default geometries 2016-01-31 13:49:44 +01:00
Arne Morten Kvarving
3001e5fdf6 changed: move 3D mixed establishment code to ASMmxBase
mirrors the 2D code
2016-01-31 13:49:44 +01:00
Kjetil Andre Johannessen
8cc0e0e300 Added Vec3Oper unit tests 2016-01-31 13:49:44 +01:00
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