-
Notifications
You must be signed in to change notification settings - Fork 0
Megha's changes #1
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
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8230ee4
Simplified version of main
Pablo1990 fa353ab
Merge branch 'main' into megha
Pablo1990 6c1742b
updating
Pablo1990 03e5886
Merge branch 'main' into megha
Pablo1990 1a9d133
Set and main updated
Pablo1990 5580d66
vtk files true
Pablo1990 904d29c
Merge branch 'main' into megha
Pablo1990 2c91db8
Merge branch 'main' into megha
Pablo1990 d3cdcf9
Tests by megha specifically on assertmatrix, datageo, data_invalidfil…
Megha-Kattimani 15bd59c
Update with Megha's branch
Pablo1990 9cd25da
minor
Pablo1990 550e509
Merge branch 'main' into megha
Pablo1990 1b9a759
fixed the assert matrix import issue, specifically the assert1D funct…
Megha-Kattimani d9186a5
Merge remote-tracking branch 'origin/megha' into megha
Megha-Kattimani d8159bb
optimising imports
Pablo1990 69c45ac
missing dependencies
Pablo1990 5fba7ee
Fixing error of requirements and numpy
Pablo1990 b12c241
fixing error of create_tetrahedra
Pablo1990 767fd3f
updating gitignore
Pablo1990 4f65e0f
update tests
Pablo1990 2771154
Merge branch 'main' into megha
Pablo1990 3dc6eb1
Merge branch 'main' into megha
Pablo1990 bbe6a05
Merge branch 'main' into megha
Pablo1990 669fafb
Changes after meeting
Pablo1990 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Run Python Tests | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: [ main megha] | ||
| pull_request: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| from datetime import datetime | ||
| import os | ||
|
|
||
| import numpy as np | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,15 +220,15 @@ def update_derived_parameters(self): | |
|
|
||
| current_datetime = datetime.now() | ||
| new_outputFolder = ''.join([PROJECT_DIRECTORY, '/Result/', str(current_datetime.strftime("%m-%d_%H%M%S_")), | ||
| 'noise_', '{:0.2e}'.format(self.noise_random), '_bNoise_', '{:0.2e}'.format(self.brownian_motion_scale), | ||
| '_lVol_', '{:0.2e}'.format(self.lambdaV), '_refV0_', '{:0.2e}'.format(self.ref_V0), | ||
| '_kSubs_', '{:0.2e}'.format(self.kSubstrate), | ||
| '_lt_', '{:0.2e}'.format(self.cLineTension), | ||
| '_refA0_', '{:0.2e}'.format(self.ref_A0), | ||
| '_eARBarrier_', '{:0.2e}'.format(self.lambdaR), | ||
| '_RemStiff_', str(self.RemodelStiffness), '_lS1_', '{:0.2e}'.format(self.lambdaS1), | ||
| '_lS2_', '{:0.2e}'.format(self.lambdaS2), '_lS3_', '{:0.2e}'.format(self.lambdaS3), | ||
| '_ps_', '{:0.2e}'.format(self.purseStringStrength), '_lc_', '{:0.2e}'.format(self.lateralCablesStrength)]) | ||
| 'noise_', '{:0.2e}'.format(self.noise_random), '_bNoise_', '{:0.2e}'.format(self.brownian_motion_scale), | ||
| '_lVol_', '{:0.2e}'.format(self.lambdaV), '_refV0_', '{:0.2e}'.format(self.ref_V0), | ||
| '_kSubs_', '{:0.2e}'.format(self.kSubstrate), | ||
| '_lt_', '{:0.2e}'.format(self.cLineTension), | ||
| '_refA0_', '{:0.2e}'.format(self.ref_A0), | ||
| '_eARBarrier_', '{:0.2e}'.format(self.lambdaR), | ||
| '_RemStiff_', str(self.RemodelStiffness), '_lS1_', '{:0.2e}'.format(self.lambdaS1), | ||
| '_lS2_', '{:0.2e}'.format(self.lambdaS2), '_lS3_', '{:0.2e}'.format(self.lambdaS3), | ||
| '_ps_', '{:0.2e}'.format(self.purseStringStrength), '_lc_', '{:0.2e}'.format(self.lateralCablesStrength)]) | ||
| self.define_if_not_defined("OutputFolder", new_outputFolder) | ||
|
|
||
| def stretch(self): | ||
|
|
@@ -320,7 +320,7 @@ def wing_disc(self): | |
| self.lambdaS4 = self.lambdaS2 | ||
|
|
||
| # VTK | ||
| self.VTK = False | ||
| self.VTK = True | ||
|
|
||
| # Implicit vs Explicit | ||
| self.implicit_method = False | ||
|
|
@@ -337,7 +337,7 @@ def wound_default(self): | |
| self.debris_contribution = np.finfo(float).eps | ||
| # =========================== Contractility ========================== | ||
| self.Contractility = True | ||
| self.TypeOfPurseString = 0 | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be reverted |
||
| self.TypeOfPurseString = 2 | ||
| # 0: Intensity-based purse string | ||
| # 1: Strain-based purse string (delayed) | ||
| # 2: Fixed with linear increase purse string | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Need further explanation
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.
changing the name
Y instead of X for calc areas coz Y - vertices