You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Composition/massPropertiesComputation.jl
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ end
44
44
# It sums up common mass, inertia tensor and center of mass.
45
45
# The results are stored twice in actual root of super object:
46
46
# massProperties: container for actual values
47
-
functionaddMassPropertiesOfAllSuperObjChildsToRootSuperObj!(rootSuperObj::Object3D, actualMassSuperObject::Vector{Object3D{F}}) where F <:Modia3D.VarFloatType
47
+
functionaddMassPropertiesOfAllSuperObjChildsToRootSuperObj!(rootSuperObj::Object3D{F}, actualMassSuperObject::Vector{Object3D{F}}) where F <:Modia3D.VarFloatType
48
48
iflength(actualMassSuperObject) >0
49
49
for i=1:length(actualMassSuperObject)
50
50
obj = actualMassSuperObject[i]
@@ -74,7 +74,8 @@ end
74
74
75
75
# function computeInertiaTensorForTwoBodies!(massPropParent, massPropObj, obj; add=true)
76
76
functionaddOrSubtractMassPropertiesOfChildToRoot!(obj_root::Object3D{F}, obj_child::Object3D{F}; add=true)::Nothingwhere F <:Modia3D.VarFloatType
Copy file name to clipboardExpand all lines: src/Composition/responseCalculation/othersCollisionResponse.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
contactStart(matPair::Shapes.NoContactPairMaterial, obj1::Object3D{F}, obj2::Object3D{F}, rContact::SVector{3,F}, contactNormal::SVector{3,F}, elasticContactReductionFactor::F, maximumContactDamping::F) where F <:Modia3D.VarFloatType=
2
-
matPair
2
+
(matPair, Shapes.NoContactPairKind)
3
3
4
-
contactStart(matPair::Shapes.ObserverContactPairMaterial, obj1::Object3D{F}, obj2::Object3D{F}, rContact::SVector{3,F}, contactNormal::SVector{3,F}, elasticContactReductionFactor::F, maximumContactDamping::F) where F <:Modia3D.VarFloatType= matPair
4
+
contactStart(matPair::Shapes.ObserverContactPairMaterial, obj1::Object3D{F}, obj2::Object3D{F}, rContact::SVector{3,F}, contactNormal::SVector{3,F}, elasticContactReductionFactor::F, maximumContactDamping::F) where F <:Modia3D.VarFloatType=(matPair, Shapes.ObserverContactPairKind)
5
5
6
6
7
7
contactStart(matPair::Shapes.ImpulseContactPairMaterial, obj1::Object3D{F}, obj2::Object3D{F}, rContact::SVector{3,F}, contactNormal::SVector{3,F}, elasticContactReductionFactor::F, maximumContactDamping::F) where F <:Modia3D.VarFloatType=
0 commit comments