Commit Graph

2587 Commits

Author SHA1 Message Date
Knut Morten Okstad
e694fa091a Fixed: Avoid dereferencing curv pointer in initLocalElementAxes()
and generateTwistedFEModel(). Removed unused/obsolete refine method.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
99de45c279 Fixed: Expand solution vector for superelement patches on HDF5 2021-06-10 09:21:47 +02:00
Knut Morten Okstad
7f21078fe7 Added: Output of basis for ASMsupel as a lagrangian spider mesh 2021-06-10 09:21:47 +02:00
Knut Morten Okstad
6dc48a87d6 Changed: The projection method prefixes are now extracted directly
from the SIM object inside the HDF5Writer::writeSIM instead of
storing them in a class member - to ensure consistency.
Then we don't need the DataExporter::setNormPrefixes method.
2021-06-10 09:21:47 +02:00
Knut Morten Okstad
65d3e87754 Changed: Cleaned output of spline basis, node mapping, etc. 2021-06-10 09:21:47 +02:00
Arne Morten Kvarving
9a34722eb3 add option to use the h-mesh for projection with subgrid 2021-06-10 08:56:12 +02:00
Knut Morten Okstad
77ac8840bd Added: App-specific pre-refinement after reading the model input 2021-05-21 15:00:59 +02:00
Knut Morten Okstad
414de77184 Changed: Refinement based on mesh density function now on SIM-level 2021-05-21 15:00:59 +02:00
Knut Morten Okstad
77786ac474 Added: virtual method getElementCenter() in class ASMunstruct 2021-05-21 15:00:04 +02:00
Knut Morten Okstad
9fe3864a4d Added: virtual method evalPoint() in class ASMLRSpline 2021-05-21 14:50:49 +02:00
Knut Morten Okstad
06580f66c7 Changed: Set initial time level for restart runs from previous.
The methods getTimeLevel() and getWritersTimeLevel() are then
no longer needed and removed for the sake of clarity.
Also removed unused method realTimeLevel(), which is incorrect
if used in restart runs with changed data dump stride.
Added: Optional print message when dumping results.
2021-05-10 06:25:55 +02:00
Arne Morten Kvarving
e2fb65447a Simplification in DataExporter
- remove unused members
- use range-based for loops
- remove unnecessary if inside the writer loop
2021-05-08 10:32:48 +02:00
Knut Morten Okstad
ff9b50f033 Added: Alternative superelement file format 2021-04-27 14:34:58 +02:00
Knut Morten Okstad
491246b11c Fixed: Also set nel after refining the mesh.
Changed: LR::extendControlPoints returns -1 on error and 0 if empty.
2021-04-25 11:55:19 +02:00
Knut Morten Okstad
fd80d78c22 Fixed: Clear all (including shared) FE arrays after refinement 2021-04-24 20:23:26 +02:00
Arne Morten Kvarving
f4026d20d0 fixed: need to copy projBasis as well 2021-04-19 09:33:14 +02:00
Knut Morten Okstad
d7f6c8c637 Added: class ASMsupel representing a reduced-order superlement patch 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
cc7bb98879 Added: Coordinate check in the inter-sim point coupling 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
c6fa4730d6 Changed: Store the rigid master points in a map with coordinates 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
7c2d6c4fad Fixed: Wrong column index in getEndPoints() caused crash 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
a88fd0ca40 Added: class SIMmultiCpl for monolithic coupled simulators 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
db16b4209c Added: Methods SIMbase::merge() and SIMbase::initSystem() to facilitate
monolithic coupled simulators with a common global equation system.
Changed: SIMbase::getNoDOFs(true) returns the sub-simulator dimension.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
67fab196a0 Added: SIMinput::getTopItemNodes 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
7525639f84 Added: Methods to shift all global node and element numbers by a constant.
Changed: ASMbase::renumberNodes() accepts that not all nodes are present
in the old2new map if the renumGN argument equals 2.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
e398a6964e Added: Override the addRigidCpl method in ASMs2DC1 and ASMs1DC1
accounting for C1-continuity requirements.
Changed: Use a separate set of slave DOF numbers to identify those MPCs
which need to be initialized by ASMs2DC1::initConstraints().
Changed: Invert the bool argument of the addMPC and mergeNodes methods.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
802ad3c441 Added: Interface for the preprocess() method in SIMadmin.
Changed: SIMadmin::printHeading() is now public.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
e92bf6e65a Moved the loadXML method from SIMadmin to XMLInputBase 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
05a6a068a3 Changed: Replaced getMyElementNums() by getGlobalElementNums() and
use getGlobal[Element|Node]Nums in the unit tests, for consistency.
Also use static functions instead of Lambdas in file scope.
2021-04-08 15:00:44 +02:00
Knut Morten Okstad
a8f6662020 Changed: Let IntegrandBase::parse() return false by default 2021-04-08 11:50:56 +02:00
Knut Morten Okstad
4ac708f596 Changed: The congruence transformation function for symmetric matrices
should work the other way around, assuming the Tn-matrices transforms
from local to global system and not the opposite.
2021-04-08 07:00:12 +02:00
Knut Morten Okstad
91c4bdd9fe Added: Input stream operator for numerical vectors and matrices 2021-04-08 07:00:12 +02:00
Knut Morten Okstad
52a70fe8ed Changed: Extract only the control point variables if ngnod = -2.
Fixed: Assume 3 nodal DOFs for rigid coupling master nodes if nsd = 1.
Fixed: Don't use the extractPatchSolution method for projected fields.
2021-03-26 11:37:07 +01:00
Knut Morten Okstad
91c75b7c89 Fixed: Account for boundary MPC couplings when choosing stripe direction 2021-03-25 14:11:54 +01:00
Knut Morten Okstad
a7987649e4 Changed: Keep track of the partId as VTF class member 2021-03-07 20:30:10 +01:00
Knut Morten Okstad
cbb008cbee Changed: No need for virtual methods after retiring class VTU 3 years ago 2021-03-07 17:12:27 +01:00
Knut Morten Okstad
28d0dac76b Changed: Don't write state info when itype < 0 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
dec5e2e21e Added: Option to set polynomial order to specified value 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
c80e2ea1c3 Added: Overloaded addLine method 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
5634f6e312 Added: getEntity and getDiscretePoint.
Changed: setNeumann and setPropertyType are public.
2021-02-10 09:05:50 +01:00
Knut Morten Okstad
cc10c75c35 Fixed: ASMs3D::connectbasis with norient=5 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
64164d22fa Changed: Allow for multiple <patchfile> tags 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
f507e8dff6 Fixed: Don't merge identical MPCs from adjacent patches 2021-02-10 09:05:50 +01:00
Knut Morten Okstad
a8056c7296 Fixed: Move the resetNumbering(ngnod) call before calling
the preprocessBeforeAsmInit method, in case the latter
wants to add extra nodal points due to rigid couplings, etc.
2021-02-10 09:05:50 +01:00
Knut Morten Okstad
4278481870 Changed: Using set instead of pair to record Lagrange multiplier nodes.
Added: Methods addRigidCpl and constrainXnode in ASMbase.
Added: Property code RIGID.
2021-02-10 09:05:50 +01:00
Knut Morten Okstad
4926a5f318 Remove some superfluous include statements.
Code in LinAlg should ideally not have any dependencies to ASM.
2021-02-10 09:05:50 +01:00
Knut Morten Okstad
22f553ce4b Changed: Non-virtual SIM3D::addConstraint --> addLineConstraint.
Changed: Public method SIMinput::addConnection no longer virtual.
It now invokes the virtual method connectPatches using an ASM::Interface
object to pass the connectivity definition instead, for convenience.
Added: Offset attribute on the topology tag.
2021-02-10 09:05:50 +01:00
Knut Morten Okstad
f1e944bead Added: Discrete topological points without patch-connection.
Changed: Store dyn-casted pointers in a local array for reuse.
Changed: Using return-vale of set::insert instead of separate count.
2021-02-10 09:05:50 +01:00
Arne Morten Kvarving
c9269956cd changed: make isRefined an int
256 refinements can happen, in particular in fracturedynamics.
this leads to overflow and a very confusing error message.
2021-02-10 08:48:57 +01:00
Arne Morten Kvarving
7fbb933bce fixed: install ASMsxDLag.h 2021-02-08 14:04:17 +01:00
Arne Morten Kvarving
c333401e4c add SIMRA-PostProc to jenkins downstreams 2021-02-08 14:04:17 +01:00