-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse colon #54
Mouse colon #54
Conversation
…olon segment profile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor changes before pulling in.
meshrefinement.refineAllElementsCubeStandard3d(refineElementsCountAround, refineElementsCountAlong, refineElementsCountThroughWall) | ||
return meshrefinement.getAnnotationGroups() | ||
|
||
def getColonSegmentInnerPoints0TC(region, elementsCountAroundMZ, elementsCountAroundNonMZ, elementsCountAlongSegment, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name wasn't immediately obvious, rename:
0TC -> NoTeniaColi, or SimpleMesentery?
|
||
@classmethod | ||
def getOptionValidScaffoldTypes(cls, optionName): | ||
if optionName == 'Central path': | ||
return [ MeshType_1d_path1 ] | ||
if optionName == 'Segment profile': | ||
return[ MeshType_3d_colonsegmentsimplemesentery1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor. Insert space after return.
haustrumInnerRadiusFactor = options['Haustrum inner radius factor'] | ||
haustrumLengthEndDerivativeFactor = options['Haustrum length end derivative factor'] | ||
haustrumLengthMidDerivativeFactor = options['Haustrum length mid derivative factor'] | ||
widthTC = options['Tenia coli width'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make consistent with other variables, where width, thickness is last, also with naming conventions I use in heart (including variables starting with lower case, types with upper case):
tcWidth
tcThickness
surface along mid-length of segment. | ||
:return coordinates, derivatives on inner surface of a colon segment. | ||
""" | ||
MZGroup = AnnotationGroup(region, 'mesenteric zone', FMANumber = 'FMANumber unknown', lyphID = 'Lyph ID unknown') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use standard of variables starting with lower case.
@@ -195,17 +205,17 @@ def generateMesh(cls, region, options): | |||
meshrefinement.refineAllElementsCubeStandard3d(refineElementsCountAround, refineElementsCountAlong, refineElementsCountThroughWall) | |||
return meshrefinement.getAnnotationGroups() | |||
|
|||
def getColonHaustraSegmentInnerPoints(elementsCountAroundTC, elementsCountAroundHaustrum, elementsCountAlongHaustrum, widthTC, radius, | |||
cornerInnerRadiusFactor, haustrumInnerRadiusFactor, haustrumLengthEndDerivativeFactor, haustrumLengthMidDerivativeFactor, haustrumLength): | |||
def getColonSegmentInnerPoints3TC(region, elementsCountAroundTC, elementsCountAroundHaustrum, elementsCountAlongSegment, widthTC, radius, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3TeniaColi, or is it going to take number of tenia coli as an argument once you do pig? Can always:
Changes made as requested. |
No description provided.