Commit Graph

2807 Commits

Author SHA1 Message Date
Arne Morten Kvarving
e595bd3556 added: BasisFunctionCache in ASMs3Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
003d567cd3 added: BasisFunctionCache in ASMs3DLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
a247271241 added: BasisFunctionCache in ASMs3D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
a6debc90af added: BasisFunctionCache in ASMs2DmxLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
f268e533a8 added: BasisFunctionCache in ASMs2Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
eff2b08e03 added: BasisFunctionCache in ASMs2DLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
6ce589a6b5 added: BasisFunctionCache in ASMs2D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
c168894ebf added: input file option for defining cache policy 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
44bbec509a added: base class for basis function cache 2023-08-15 11:47:15 +02:00
Knut Morten Okstad
4fc972737a Fixed: G_MATRIX and AVERAGE calculation for 3D mixed LR 2023-08-01 14:42:06 +02:00
Knut Morten Okstad
58a1bf78d1 Added: Error exit if integrand with reduced integration for mixed LR.
Fixed: Solution transfer for mixed in 3D.
2023-08-01 12:23:22 +02:00
Knut Morten Okstad
d8ac636fee Added: Convenience method in utl namespace for calculation of (1st and 2nd)
derivatives of mixed basis functions w.r.t. Cartesian coordinates,
including the Jacobian and Hessian matrices
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
91b9a07230 Removed unused and potentially dangerous evaluateBasis method,
storing basis function derivatives w.r.t. parameter domain coordinates
in the array intended for derivatives w.r.t. Cartesian coordinates
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
e63aebcc03 Added: Convenience typedef SplinePtr in ASMu2Dmx and ASMu3Dmx
and use it instead of auto in range-based loops for readability.
Changed: Use getElement(iel) instead of elementBegin()+iel.
Fixed: Don't increment element counter when skipping element
not in current threading group when doing interface integral.
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
3d3816130c Added: Convenience method getElementsAt() for ASMu2Dmx and ASMu3Dmx. 2023-08-01 10:26:02 +02:00
Knut Morten Okstad
78635f56d3 Fixed: Integration point counter for mixed integrand.
Changed: Return false instead of break in loop without threading.
2023-08-01 10:26:02 +02:00
Arne Morten Kvarving
733c9c51a9 added: set parameters in SplineUtils::project 2023-06-08 11:00:43 +02:00
Arne Morten Kvarving
b142a0b54b install SplineFields?xD.h 2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
29d70c1262 fixed: initial conditions with partitioning
calculate these on root node and broadcast instead of calculating
separately on each process. this can cause desync between processes,
for instance if the initial condition uses random numbers
2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
6736f7829f added: broadcast wrapper to ProcessAdm 2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
933bc34944 ASMu2Dmx: add rational support 2023-05-26 09:40:42 +02:00
Arne Morten Kvarving
6a227741d6 added: NURBS support in LRSplineField(s)2D(mx) 2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
84badbb8c8 changed: make NURBS basis evaluation methods static and public
for reuse in fields classes
2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
be6dd45918 changed: make getCoordinates a static and public method
for reuse in field classes
2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
046b242920 added: function to query whether a ASMu2D is rational or not 2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
835384655c fixed: handle rational projection basis 2023-05-23 20:47:09 +02:00
Arne Morten Kvarving
373cdf281e changed: convert lambda to static member function 2023-05-23 20:47:09 +02:00
Arne Morten Kvarving
98770849dd fixed: set a longer timeout for valgrind enabled tests 2023-05-23 13:09:28 +02:00
Arne Morten Kvarving
ada3102a76 ASMu2Dmx: use computeBasis wrapper
in preparation for rational support
2023-05-23 13:09:28 +02:00
Arne Morten Kvarving
a107664301 added: eps output functions for LR nurbs 2023-05-23 12:03:40 +02:00
Arne Morten Kvarving
acb0c471eb changed: unify computeBasis signatures
always take a spline pointer parameter. use reference in the NURBS interfaces.
2023-05-23 11:38:54 +02:00
Arne Morten Kvarving
403cc925bc fixed: use internal basis evaluation in jump integration method
to handle NURBS
2023-05-23 11:13:58 +02:00
Knut Morten Okstad
f9c1be46ed Fixed a valgrind issue in test problem (missing initialization) 2023-05-23 09:30:15 +02:00
Arne Morten Kvarving
9ec1b0d6d9 fixed: have to regenerate bezier basis when switching projection basis
we also have to switch geometry as we need elements without the
additional refinement when projecting the pressure
2023-05-22 14:16:35 +02:00
Arne Morten Kvarving
bb7d87efb9 changed: fold ASMu2Dnurbs into ASMu2D
this so we get access to NURBS in ASMu2Dmx.
remove ASM::LRNurbs and option -LRn as we now detect
rational from the underlying tensor spline
2023-05-16 22:02:36 +02:00
Knut Morten Okstad
81b341d03f Fixed: External forces where added twice for HHTSIM 2023-05-03 06:12:02 +02:00
Knut Morten Okstad
d775740068 Added: Methods for debug print of element matrices, with optional names 2023-05-03 06:11:18 +02:00
Knut Morten Okstad
234f4c152b Added: Unit test for NewmarkNLSIM 2023-05-02 13:20:47 +02:00
Arne Morten Kvarving
fb34513b76 added: set parameters in ASMs3DLag::integrate(B) 2023-03-27 14:07:55 +02:00
Knut Morten Okstad
6f0d8d56a6 Changed: ASMbase::globalL2projection() does not need to be virtual.
Added: Enforcement of end point values in the global L2-projection.
2023-02-15 07:38:04 +01:00
Knut Morten Okstad
d2c496c920 Fixed: Use actual spline parameters when evaluating functions - not the normalized ones.
Changed: Use matrix::fillColumn() instead of loop.
2023-02-14 13:37:18 +01:00
Knut Morten Okstad
9e35a86598 Cosmetic doxy fixes 2023-02-14 12:07:08 +01:00
Arne Morten Kvarving
a09dbbd82b fixed: allow system CFLAGS in petsc pkg config
these can end up empty if petsc is installed to system
paths and stripping is enabled
2023-01-12 12:44:12 +01:00
Knut Morten Okstad
747b21b655 Changed: Simply VariationDiminishingSplineApproximation() signature 2023-01-10 13:47:06 +01:00
Knut Morten Okstad
90f7129729 Changed: Use && instead of bit-wise &, to avoid warnings with newer compilers.
The result is that the mesh will not be saved if the refinement fails,
which probably makes more sense anyway.
2023-01-10 13:39:52 +01:00
Knut Morten Okstad
d89c31558f Changed: Return int instead of bool such the bitwise or
can be used on the result without warning for newer compilers
2023-01-10 13:39:52 +01:00
Arne Morten Kvarving
4ea903be4f Fixed: Wrong return value 2023-01-10 13:39:52 +01:00
Knut Morten Okstad
4618eab9d0 Added: Optional element shrinkage factor for LR meshes to VTF 2022-10-29 11:50:45 +02:00
Knut Morten Okstad
69e43205ca Fixed: Potential infinite recursion 2022-10-04 14:54:14 +02:00
Arne Morten Kvarving
a8194b9500 changed: avoid use of PetscPrintf
the format specifier %D is deprecated and non-working in newer
petsc. rather than figuring out how to do this properly across
petsc versions, use our own printing facilities.
2022-10-04 13:45:02 +02:00