-
Notifications
You must be signed in to change notification settings - Fork 2
pyAEDTM2D_Lum #79
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
Merged
pyAEDTM2D_Lum #79
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
a2b21de
New Maxwell2D-Lumerical Workflow for an Ion Trap Application. Require…
tizianrot 3c71ca9
New Maxwell2D-Lumerical Workflow for an Ion Trap Application. Require…
tizianrot 2e578a7
New Maxwell2D-Lumerical Workflow for an Ion Trap Application. Require…
tizianrot cb0dd29
New Maxwell2D-Lumerical Workflow for an Ion Trap Application. Require…
tizianrot c392782
New Maxwell2D-Lumerical Workflow for an Ion Trap Application. Require…
tizianrot e6b6d5c
fix: code-style issues
RobPasMue 98060af
Merge branch 'main' into pyAEDTM2D_Lum
SMoraisAnsys 4d0c786
Merge branch 'main' into pyAEDTM2D_Lum
SMoraisAnsys 0edb664
chore: remove unwanted files
SMoraisAnsys 2a2f6de
ci: prepare draft of workflow
SMoraisAnsys 1f89895
docs: add section to fill in README
SMoraisAnsys 8b2ec39
docs: add doc configuration
SMoraisAnsys 7dca4a7
chore: update requirements and extend to 25.2
SMoraisAnsys b49becc
refactor: rename file and update content
SMoraisAnsys 1c990c2
fix: wrong name of file
SMoraisAnsys 6897616
New M2D-Lumerical Workflow for an Ion Trap Application. Requires the …
tizianrot c42a75c
New M2D-Lumerical Workflow for an Ion Trap Application. Requires the …
tizianrot 3a3e6a1
Merge branch 'main' into pyAEDTM2D_Lum
SMoraisAnsys f9327c5
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] 8f76508
chore: fix typo in README
SMoraisAnsys 2ade4ce
New M2D-Lumerical Workflow for an Ion Trap Application. Requires the …
tizianrot f9e8565
Merge remote-tracking branch 'origin/pyAEDTM2D_Lum' into pyAEDTM2D_Lum
tizianrot dedcc9a
Merge branch 'pyAEDTM2D_Lum' of github.com:ansys/pyansys-workflows in…
SMoraisAnsys b558665
refactor: clean up example
SMoraisAnsys 64d100d
chore: update dependencies
SMoraisAnsys 469bd48
Maxwell-2D updated workflow, run with PyLumerical and reformatted to …
tizianrot f8cd0b1
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] 7194cbd
ci: pin version to 25R2 and cleanup
SMoraisAnsys 59b8f2f
docs: add missing ref in examples.rst
SMoraisAnsys bf66277
wip: temporary example removal for testing
SMoraisAnsys 5fba8ce
Update .github/workflows/maxwell2d-lumerical.yml
SMoraisAnsys 0f3b963
New M2D-Lumerical Workflow for an Ion Trap Application. Requires the …
tizianrot fdd9c11
Merge branch 'main' into pyAEDTM2D_Lum
SMoraisAnsys 2238372
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] ac3475b
refactor: use non graphical mode
SMoraisAnsys ae46b85
wip: build doc
SMoraisAnsys 2e3436a
refactor: add docstring to example
SMoraisAnsys 24f3fbd
wip: fix doc build
SMoraisAnsys d94f4d8
ci: add example to doc build
SMoraisAnsys 947b1b0
ci: align changes
SMoraisAnsys 4b0ae0a
Merge branch 'main' into pyAEDTM2D_Lum
MaxJPRey 9a5361c
docs: update sections content and titles
SMoraisAnsys c665ffc
docs: revert to standard doc build
SMoraisAnsys 0048ca3
Readme.md modified
tizianrot 3971e1c
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] 802715f
Readme.md modified again
tizianrot 44da614
Merge remote-tracking branch 'origin/pyAEDTM2D_Lum' into pyAEDTM2D_Lum
tizianrot 420b7b7
Readme.md modified again
tizianrot 020ea0a
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] 9d23b98
Update README.md
SMoraisAnsys 46c394e
CI: Update build doc logic to recent changes
SMoraisAnsys 7f4db3d
docs: use correct URL
SMoraisAnsys a7b8ee1
docs: sort examples correctly
SMoraisAnsys 70d446a
docs: fix format issues
SMoraisAnsys 01dc0e0
Update maxwell2d-lumerical/Readata.lsf
tizianrot ce9cfbe
Merge branch 'main' into pyAEDTM2D_Lum
MaxJPRey e8e0a5b
Update README.md
tizianrot d7ed5a8
Update README.md
tizianrot aea57d3
Update README.md
tizianrot ce440e1
Update README.md
tizianrot 479f21b
Update README.md
tizianrot a0b4abc
Update README.md
tizianrot 6c1fa33
Update README.md
tizianrot 9920a9a
Update README.md
tizianrot 22f7ede
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 034ce9f
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot ac93756
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot c46eadb
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 451bbe2
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot cb2eb80
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot bc5ecfd
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 845e816
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot d58db12
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 9a0f47c
Update maxwell2d-lumerical/GC_farfield.lsf
tizianrot 1371c56
Update maxwell2d-lumerical/GC_Opt.lsf
tizianrot 05b1935
Update maxwell2d-lumerical/GC_Opt.lsf
tizianrot 90b519b
Update maxwell2d-lumerical/README.rst
tizianrot 98fdbc1
Update maxwell2d-lumerical/README.rst
tizianrot 2c0adfa
Update maxwell2d-lumerical/README.rst
tizianrot 6676a51
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot f9af63f
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 5002d62
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot ea876fa
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot ef403cd
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot 51a9c12
Update maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py
tizianrot f4bfa6f
Modifications in the commenst after Review from @PipKat
tizianrot 727ce44
Update maxwell2d-lumerical/README.rst
SMoraisAnsys 6ddf3f4
Merge branch 'main' into pyAEDTM2D_Lum
SMoraisAnsys 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
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 |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| name: Maxwell2D Lumerical Workflow | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| doc-build: | ||
| required: false | ||
| default: false | ||
| type: boolean | ||
| description: 'Whether to build the documentation' | ||
| workflow_call: | ||
| inputs: | ||
| doc-build: | ||
| required: false | ||
| default: false | ||
| type: boolean | ||
| description: 'Whether to build the documentation' | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| paths: | ||
| - 'maxwell2d-lumerical/**' | ||
|
|
||
| env: | ||
| ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}} | ||
| ANSYS_RELEASE_FOR_DOCS: 25.2 | ||
| ANSYSEM_ROOT252: 'C:\Program Files\ANSYS Inc\v252\AnsysEM' | ||
| MAIN_PYTHON_VERSION: '3.12' | ||
| ON_CI: true | ||
|
|
||
| jobs: | ||
|
|
||
| is-only-docs-required: | ||
| uses: ./.github/workflows/check-docs-required.yml | ||
| with: | ||
| doc-build: ${{ inputs.doc-build || false }} | ||
|
|
||
| maxwell2d-lumerical: | ||
| name: Maxwell2D Lumerical | ||
| runs-on: [self-hosted, Windows, pyansys-workflows] | ||
| needs: is-only-docs-required | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| ansys-release: ${{ needs.is-only-docs-required.outputs.only-docs == 'true' && fromJSON('[25.2]') || fromJSON('[25.2]') }} | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 | ||
| with: | ||
| sparse-checkout: | | ||
| maxwell2d-lumerical | ||
| doc | ||
|
|
||
| - name: Set up Python ${{ env.MAIN_PYTHON_VERSION }} | ||
| uses: actions/setup-python@2e3e4b15a884dc73a63f962bff250a855150a234 # v5.6.0 | ||
| with: | ||
| python-version: ${{ env.MAIN_PYTHON_VERSION }} | ||
|
|
||
| - name: Install dependencies | ||
| shell: bash | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| python -m venv .venv | ||
| source .venv/Scripts/activate | ||
| pip install -r maxwell2d-lumerical/requirements_${{ matrix.ansys-release }}.txt | ||
|
|
||
| - name: Run the workflow script | ||
| env: | ||
| AEDT_VERSION: ${{ matrix.ansys-release }} | ||
| shell: bash | ||
| run: | | ||
| source .venv/Scripts/activate | ||
| python maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py | ||
|
|
||
| - name: (DOCS) Build the documentation (only on ${{ env.ANSYS_RELEASE_FOR_DOCS}}) | ||
| if: needs.is-only-docs-required.outputs.only-docs == 'true' && matrix.ansys-release == env.ANSYS_RELEASE_FOR_DOCS | ||
| env: | ||
| BUILD_DOCS_SCRIPT: 'maxwell2d-lumerical/wf_ml_01_ion_trap_modelling.py' | ||
| shell: bash | ||
| run: | | ||
| source .venv/Scripts/activate | ||
| cd doc | ||
| pip install -r requirements.txt | ||
| ./make.bat html | ||
|
|
||
| - name: (DOCS) Adapt the documentation paths | ||
| if: needs.is-only-docs-required.outputs.only-docs == 'true' && matrix.ansys-release == env.ANSYS_RELEASE_FOR_DOCS | ||
| shell: bash | ||
| run: | | ||
| find doc/_build -type f -exec sed -i 's|C:\\Users\\ansys\\actions-runner\\_work\\pyansys-workflows\\pyansys-workflows\\doc\\source\\examples\\maxwell2d-lumerical\\images\\|./images/|g' {} + | ||
|
|
||
| - name: (DOCS) Upload docs artifacts | ||
| if: needs.is-only-docs-required.outputs.only-docs == 'true' && matrix.ansys-release == env.ANSYS_RELEASE_FOR_DOCS | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: maxwell2d-lumerical-docs | ||
| path: | | ||
| doc/_build/ | ||
| doc/source/examples/maxwell2d-lumerical/ | ||
| overwrite: true |
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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| outputs |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.