Skip to content

feat: add thermic source - #651

Merged
pluAtAnsys merged 72 commits into
mainfrom
feat/thermicsource
Aug 25, 2026
Merged

feat: add thermic source#651
pluAtAnsys merged 72 commits into
mainfrom
feat/thermicsource

Conversation

@pluAtAnsys

@pluAtAnsys pluAtAnsys commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

Description

Add thermic source in core layer inside the core.source module
Follow the existing architectural structure, using current source implementations as reference.
Ensure default values are consistent with SCDM Speos standards.

Documentation
Provide a usage example in the core module’s documentation, demonstrating how to initialize and use the new ambient source.

Testing
Create a unit test for the thermic source functionality within the core module to ensure stability and correctness.

Issue linked

Add Thermic source in core layer #540

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have assigned this PR to myself.
  • I have made sure that the title of my PR follows Conventional commits style (e.g. feat: add optical property)
  • I have agreed with the Contributor License Agreement (CLA).

@github-actions github-actions Bot added the enhancement New features or code improvements label Jul 2, 2025
@pluAtAnsys pluAtAnsys changed the title Feat/thermicsource Add: thermic source Jul 2, 2025
@pluAtAnsys pluAtAnsys linked an issue Jul 2, 2025 that may be closed by this pull request
@pluAtAnsys pluAtAnsys changed the title Add: thermic source feat: add thermic source Jul 2, 2025
@codecov

codecov Bot commented Jul 2, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.06%. Comparing base (157689a) to head (4f174a2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #651      +/-   ##
==========================================
- Coverage   89.17%   89.06%   -0.11%     
==========================================
  Files          47       47              
  Lines       11628    11801     +173     
==========================================
+ Hits        10369    10511     +142     
- Misses       1259     1290      +31     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread examples/core/source_thermic_example_tmp.py Outdated
pluAtAnsys and others added 4 commits August 4, 2026 14:35
pluAtAnsys
fix
Signed-off-by: pluAtAnsys <pengyuan.lu@ansys.com>
Signed-off-by: pluAtAnsys <pengyuan.lu@ansys.com>
@pluAtAnsys
pluAtAnsys requested a review from StefanThoene August 4, 2026 16:34
Signed-off-by: Stefan Thoene <sthoene@synopsys.com>
Signed-off-by: Stefan Thoene <sthoene@synopsys.com>
@StefanThoene

Copy link
Copy Markdown
Collaborator

@pluAtAnsys @ansmcailler i just did 2 changes:
i moved the creation error to the appropriate test in test_project.py
and i change geometry assignement to test both assignment methods

the missing loading parts should be implemented in a new test with 271 i would guess

StefanThoene
StefanThoene previously approved these changes Aug 6, 2026
Comment thread src/ansys/speos/core/generic/parameters.py Outdated
Comment thread src/ansys/speos/core/generic/parameters.py
Comment thread src/ansys/speos/core/opt_prop.py Outdated
Comment thread src/ansys/speos/core/source.py Outdated
Comment thread src/ansys/speos/core/source.py Outdated
Comment thread src/ansys/speos/core/source.py Outdated
Comment thread src/ansys/speos/core/source.py Outdated
Comment thread src/ansys/speos/core/source.py
Comment thread src/ansys/speos/core/source.py
Comment thread tests/core/test_source.py
Signed-off-by: pluAtAnsys <pengyuan.lu@ansys.com>
@pluAtAnsys
pluAtAnsys merged commit 7e29aaf into main Aug 25, 2026
25 checks passed
@pluAtAnsys
pluAtAnsys deleted the feat/thermicsource branch August 25, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New features or code improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Thermic source in core layer

6 participants