Knut Morten Okstad
94389163e5
Fixed: Undo the fix in e69c100b17
...
as this apparently causes the issue OPM/IFEM#347 .
Revisit this later for a proper fix.
2019-04-23 21:02:51 +02:00
Arne Morten Kvarving
633cf80ff8
Changed: Make sure we generate IDs for LR objects.
...
This changed in the recently update lrspline library.
Now has to be done manually by user code to avoid multi-threading issues.
2019-04-15 07:38:54 +02:00
Knut Morten Okstad
44f7cb20dc
Added: Optionally collapse degenerated faces into an edge or node.
...
Added: Unit tests for the collapse methods for ASMs2D and ASMs3D.
Changed: Removed the basis argument in the constrainNode method
in ASMs3D to be compliant with the ASMs2D method (they are not
in use for mixed problems). Also some minor doxy corrections.
Changed: Reset basis to 1 if zero in all constrain-methods
for the non-mixed ASM-classes, for consistency.
2019-04-09 09:55:51 +02:00
Knut Morten Okstad
717b32cb48
Fixed: Number of boundary integration points when unequal order.
...
Changed: Using utl::findIndex when searching global indices.
2019-04-02 21:36:58 +02:00
Knut Morten Okstad
584ed7fbf7
Added: Subclass ASMu2DC1 with support for clamped boundary conditions
2019-04-02 13:09:56 +02:00
Knut Morten Okstad
3c9529c072
Changed: Simplified the boundary nodes extraction a bit.
...
Always use getBoundaryNodes method and made getEdgeNodes private.
Think there were some small undetected errors also
(local vs. global node numbers).
2019-04-02 09:26:55 +02:00
Knut Morten Okstad
592b725e24
Changed: Let the DirichletEdge constructor initialize its corner member.
...
Also let the MLGN member account for the basis offset in case of mixed,
such that the basis index itself is not needed as a DirichleEdge member.
2019-04-02 06:30:33 +02:00
Knut Morten Okstad
048291d2af
Added: Utility method utl::findIndex
2019-04-01 21:51:51 +02:00
Knut Morten Okstad
e65617c5e3
Added: Debug print of the expanded XML-file content.
...
Fixed: Use InsertAfterChild instead of LinkEndChild when the included file
contains for than one tag, to ensure they are inserted into the right place.
2019-03-26 11:04:26 +01:00
Knut Morten Okstad
3933fb5264
Added: Command-line option -noadap to deactivate input file setting
2019-03-26 11:04:04 +01:00
Knut Morten Okstad
85db51a328
Cosmetic fixup of ba08543867
2019-03-26 11:03:56 +01:00
Arne Morten Kvarving
dda05f7d96
fix indexing error in b54d19d19c
2019-03-14 10:43:01 +01:00
Knut Morten Okstad
b54d19d19c
Added: Default Gauss point selection for LRSplines
2019-03-13 20:56:58 +01:00
Arne Morten Kvarving
d5d3987b3c
added: singleton entry point for stb image
...
the header can only be used once. we need this wrapper
class with multiple texture material types.
2019-03-09 15:59:16 +01:00
Knut Morten Okstad
d54b89b887
Added: Helper method SIMoutput::extractNodeVec.
...
This method is used instead of ASMbase::extractNodeVec,
and accounts for the zero-dof nodes due to ignored patches.
2019-03-06 18:25:25 +01:00
Knut Morten Okstad
c7662e58a8
Fixed: Missing check for empty patch (avoid crash when ignoring patches).
...
Added: Use the nodeType array to flag nodes associated with empty patches.
2019-03-06 18:25:07 +01:00
Knut Morten Okstad
7384bbb5d0
Fixed: Index error when saving projected fields for multi-patch models.
...
Changed: 1-based Patch ID in the VTF files.
2019-03-06 18:17:15 +01:00
Knut Morten Okstad
f95245c725
Added: More profiling of basis and solution evaluation methods
2019-03-06 09:24:54 +01:00
Arne Morten Kvarving
a63bf7520b
fixed: avoid expensive global basis function lookups
2019-03-06 09:24:54 +01:00
Knut Morten Okstad
a75f054e4d
Fixed: The noNurbs member is not set at this point
2019-03-01 16:35:12 +01:00
Knut Morten Okstad
b32877d37a
Added: More basis function debug output.
...
Changed: Moved around some 0.5 scaling factors.
2019-03-01 08:25:15 +01:00
Knut Morten Okstad
0a9c56f2bf
Changed: The CoordinateMapping unit tests do not depend on SIM
2019-03-01 08:25:15 +01:00
Knut Morten Okstad
9ac5c119d4
Added: Abort the adaptive loop if NaN in the solution.
...
Changed: Inline the saveErrors method since only used once.
2019-03-01 08:25:15 +01:00
Knut Morten Okstad
ba08543867
Added: Support for tag <patch> or <patches> for in-lined g2 geometry
...
instead of via file (which still is supported).
Changed: Removed some code duplication on reading of patch geometry.
The readPatches method is no longer virtual and updates its myModel member.
2019-03-01 08:25:15 +01:00
Knut Morten Okstad
4b5e8da47b
Fixed: Interpretation of the edge direction parameter in getParametricLength.
...
Now it is consistent with the tensor spline version.
Fixed: Potential memory leak on failure due to not releasing the LocalIntegral.
2019-02-19 07:13:30 +01:00
Arne Morten Kvarving
b224dd7d8d
fixed: off by one error in hessian calculations
2019-02-19 07:13:30 +01:00
Knut Morten Okstad
e31bca84f1
Changed: Initialize the rational variable outside the createG2 method,
...
such that discretization==LRNurbs can be accounted for when generating
2019-02-19 07:13:30 +01:00
Arne Morten Kvarving
b892a8b2c1
added: ASMu2Dnurbs
2019-02-19 07:13:30 +01:00
Arne Morten Kvarving
146d4fbf0f
changed: introduce computeBasis wrapper functions
...
to make evaluations overridable in child classes
2019-02-19 07:13:30 +01:00
Arne Morten Kvarving
b3b7846332
changed: move bezier bases to protected scope
...
and some reorganization of calculations to fix usage
with shared models and mixed
2019-02-19 07:13:30 +01:00
Knut Morten Okstad
c2162ab8db
Changed: Unified the periodicity handling into SIMinput and introducing
...
a virtual method closeBoundaries in ASMbase to avoid some type casting.
Some other minor cosmetic changes in SIM2D an SIM3D to make them more similar.
2019-02-07 07:44:16 +01:00
Knut Morten Okstad
34ce829e44
Moved some beam-specific attributes and associated methods to
...
the elastic beam application, the only place it has any relevance
2019-02-06 10:46:37 +01:00
Arne Morten Kvarving
ce23569831
fixed: projection basis from file in ASMu2Dmx
2019-02-06 09:18:04 +01:00
Arne Morten Kvarving
6eebff053e
fixed: fix continuity for inserted lines in ASMu2Dmx::refine
2019-02-06 09:18:04 +01:00
Arne Morten Kvarving
7c393572bc
added: keep lines of reduced continuity in ASMmxBase::raiseBasis
2019-02-06 09:18:04 +01:00
Arne Morten Kvarving
f49c5940e9
added: output projection and refinement bases to eps in ASMu2Dmx
2019-02-06 09:18:04 +01:00
Arne Morten Kvarving
d6997de5d1
added: helper for building a spline basis from knot vector and multiplicities
2019-02-06 09:18:04 +01:00
Arne Morten Kvarving
27844e560d
jenkins: add support for sidestreams
...
these are modules which are cloned, but not built
2019-02-01 11:07:28 +01:00
Knut Morten Okstad
328e1b5b5c
Added: Reset number of space dimensions if smaller value on file,
...
or if the dim attribute is specified in the geometry tag
2019-01-31 15:19:37 +01:00
Knut Morten Okstad
48788aa3c6
Added: Invoke finalizeElement also in the ASMstruct::diracPoint method
2019-01-31 15:19:37 +01:00
Knut Morten Okstad
6b7eac88a5
Added: Constraints in local coordinate system for 1D
2019-01-31 15:19:37 +01:00
Knut Morten Okstad
3476eb9a93
Fixed: getRHSVector should work when no A-matrices in case we are doing
...
the right-hand-side only and we are integrating external element loads
2019-01-31 15:19:37 +01:00
Arne Morten Kvarving
9f894f0312
fixed: vector should be sized as number of refine nodes, not number of projection nodes
2019-01-30 08:17:20 +01:00
Knut Morten Okstad
e92958386b
Added: Read projection basis from a separate file
2019-01-26 18:45:16 +01:00
Arne Morten Kvarving
c431116826
Added: Refinement of projection basis in ASMu2D.
...
According to Kjetil, this should be sufficient.
2019-01-26 18:45:16 +01:00
Knut Morten Okstad
568904e28d
Fixed: Move evalProjSolution implementations to ASMs2D and ASMu2D
2019-01-26 18:45:16 +01:00
Knut Morten Okstad
c3f39e8749
Added: Support separate projection basis in 2D.
...
Changed: Let SIMgeneric::createDefaultModel return the first created patch.
2019-01-26 18:45:16 +01:00
Arne Morten Kvarving
1f3be6906f
Unify ASMs2D(mx)::assembleL2matrices and ASMu2D(mx)::assembleL2matrices
2019-01-26 18:45:16 +01:00
Arne Morten Kvarving
99796c2279
Changed: Move projection basis handling from ASMs2Dmx and ASMu2Dmx
...
to ASMs2D and AMSu2D, respectively
2019-01-26 18:45:16 +01:00
Knut Morten Okstad
971dee4e3f
Added: Convenience methods ASMmxBase::raiseBasis
2019-01-26 18:45:16 +01:00