Commit Graph

1430 Commits

Author SHA1 Message Date
Knut Morten Okstad
536ed75ae8 Reorganised the Elasticity sources into libraries to better facilitate reuse.
This also includes moving the GETBeam sources from the 3rdparty folder.
2016-01-31 14:19:08 +01:00
Arne Morten Kvarving
cd4a6e0150 Renamed SIMCoupledSemiImplicit.h to SIMCoupledSI.h
Also rewrite the template to use the convergence tests of the
nonlinear/newmark solvers instead of adding another on top.
2016-01-31 14:19:08 +01:00
Arne Morten Kvarving
6ab1f0e010 fixed: set number of elements for 2D LR ASM 2016-01-31 14:19:08 +01:00
Knut Morten Okstad
1641924b03 Added: Input file option to output only primary solution variables to VTF/HDF5. 2016-01-31 14:19:08 +01:00
Knut Morten Okstad
5f5d792c00 Fixed: Avoid memory corruption when multi-threaded CGL2 and -principal.
Also handle patch index out-of-range in SIMgeneric::evalPoint.
2016-01-31 14:19:08 +01:00
timovanopstal
736614ef37 addied: 3D COMPATIBLE 2016-01-31 14:19:08 +01:00
Knut Morten Okstad
4afe27a5d4 Added: Header files BLAS.h and LAPack.h with platform-dependent implementations.
Changed: Replaced potentially confusing macro symbol USE_BLAS with HAS_BLAS
which is an enum value depending on which BLAS implementation (if any) is used.
Added: Wrappers for the LAPack/BLAS functions when HAS_BLAS == 3 (Accelerate).
2016-01-31 14:19:08 +01:00
Knut Morten Okstad
c08b24db68 Added: Default implementation of IntegrandBase::getNoFields(int group)
returning the number of norm groups when the argument group is zero.
2016-01-31 14:19:08 +01:00
Knut Morten Okstad
57b9ef5864 Changed: Allow that assembleSystem is invoked with mode == RECOVERY
meaning that we are only updating the internal state of the integrand
without assembling any global quantitites + some minor cosmetic changes
2016-01-31 14:19:08 +01:00
Knut Morten Okstad
f0f4e399ab Updated the ASM class hierarchy in the Getting Started presentation.
Updated/corrected the Poisson tutorial.
2016-01-31 14:19:08 +01:00
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