Skip to content

Commit

Permalink
updated writing shell model sg with geometric correction
Browse files Browse the repository at this point in the history
  • Loading branch information
tian50 committed Oct 1, 2021
1 parent cbd54e7 commit 719ce8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions msgpi/sg/sg.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ def __init__(self, name, sgdim, smdim=None):
#: list of floats: Oblique (beam only)
self.oblique = [1.0, 0.0]

#: list of floats: Lame parameters for geometrically corrected shell model
self.lame_params = [1.0, 1.0]

#: dict of {int, :obj:`msgpi.sg.MaterialProperty`}: Materials
self.materials = {}

Expand Down Expand Up @@ -1088,6 +1091,7 @@ def __writeInputSGHeader(self, fobj, sfi, sff, solver, sg_fmt):
# self.initial_curvature[0], self.initial_curvature[1]
# ))
utio.writeFormatFloats(fobj, self.initial_curvature, sff)
utio.writeFormatFloats(fobj, self.lame_params, sff)
fobj.write('\n')

# Head
Expand Down

0 comments on commit 719ce8b

Please sign in to comment.