Skip to content

Commit f50c94e

Browse files
authored
Merge pull request #743 from mathLab/dev
Dev Updates
2 parents 6bae7ca + 73984f9 commit f50c94e

File tree

165 files changed

+16644
-7306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+16644
-7306
lines changed

.github/workflows/create-tag.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Create Git Tag
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag_name:
7+
description: "Tag name (eg. v1.3.0)"
8+
required: true
9+
type: string
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
create_tag:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
persist-credentials: false
24+
25+
- name: Configure git with PAT
26+
run: |
27+
git config user.name "github-actions[bot]"
28+
git config user.email "github-actions[bot]@users.noreply.github.com"
29+
git remote set-url origin "https://x-access-token:${{ secrets.PAT_PINA_PUSH }}@github.com/${{ github.repository }}.git"
30+
31+
- name: Check if the tag is already existing
32+
run: |
33+
TAG="${{ inputs.tag_name }}"
34+
git fetch --tags
35+
if git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
36+
echo "❌ Tag $TAG already exists"
37+
exit 1
38+
fi
39+
40+
- name: Create and push the tag
41+
run: |
42+
TAG="${{ inputs.tag_name }}"
43+
git tag "$TAG"
44+
git push origin "$TAG"

docs/source/_rst/_code.rst

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ Problems Zoo
215215
.. toctree::
216216
:titlesonly:
217217

218+
AcousticWaveProblem <problem/zoo/acoustic_wave.rst>
218219
AdvectionProblem <problem/zoo/advection.rst>
219220
AllenCahnProblem <problem/zoo/allen_cahn.rst>
220221
DiffusionReactionProblem <problem/zoo/diffusion_reaction.rst>
@@ -230,10 +231,11 @@ Geometrical Domains
230231
.. toctree::
231232
:titlesonly:
232233

233-
Domain <domain/domain.rst>
234-
CartesianDomain <domain/cartesian.rst>
235-
EllipsoidDomain <domain/ellipsoid.rst>
236-
SimplexDomain <domain/simplex.rst>
234+
DomainInterface <domain/domain_interface.rst>
235+
BaseDomain <domain/base_domain.rst>
236+
CartesianDomain <domain/cartesian_domain.rst>
237+
EllipsoidDomain <domain/ellipsoid_domain.rst>
238+
SimplexDomain <domain/simplex_domain.rst>
237239

238240
Domain Operations
239241
------------------
@@ -242,22 +244,25 @@ Domain Operations
242244
:titlesonly:
243245

244246
OperationInterface <domain/operation_interface.rst>
245-
Union <domain/union_domain.rst>
246-
Intersection <domain/intersection_domain.rst>
247-
Difference <domain/difference_domain.rst>
248-
Exclusion <domain/exclusion_domain.rst>
247+
BaseOperation <domain/base_operation.rst>
248+
Union <domain/union.rst>
249+
Intersection <domain/intersection.rst>
250+
Difference <domain/difference.rst>
251+
Exclusion <domain/exclusion.rst>
249252

250253
Callbacks
251254
-----------
252255

253256
.. toctree::
254257
:titlesonly:
255258

256-
Processing callback <callback/processing_callback.rst>
257-
Optimizer callback <callback/optimizer_callback.rst>
258-
R3 Refinment callback <callback/refinement/r3_refinement.rst>
259-
Refinment Interface callback <callback/refinement/refinement_interface.rst>
260-
Normalizer callback <callback/normalizer_data_callback.rst>
259+
Switch Optimizer <callback/optim/switch_optimizer.rst>
260+
Switch Scheduler <callback/optim/switch_scheduler.rst>
261+
Normalizer Data <callback/processing/normalizer_data_callback.rst>
262+
PINA Progress Bar <callback/processing/pina_progress_bar.rst>
263+
Metric Tracker <callback/processing/metric_tracker.rst>
264+
Refinement Interface <callback/refinement/refinement_interface.rst>
265+
R3 Refinement <callback/refinement/r3_refinement.rst>
261266

262267
Losses and Weightings
263268
---------------------
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Optimizer callbacks
1+
Switch Optimizer
22
=====================
33

4-
.. currentmodule:: pina.callback.optimizer_callback
4+
.. currentmodule:: pina.callback.optim.switch_optimizer
55
.. autoclass:: SwitchOptimizer
66
:members:
77
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Switch Scheduler
2+
=====================
3+
4+
.. currentmodule:: pina.callback.optim.switch_scheduler
5+
.. autoclass:: SwitchScheduler
6+
:members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Metric Tracker
2+
==================
3+
.. currentmodule:: pina.callback.processing.metric_tracker
4+
5+
.. autoclass:: MetricTracker
6+
:members:
7+
:show-inheritance:

docs/source/_rst/callback/normalizer_data_callback.rst renamed to docs/source/_rst/callback/processing/normalizer_data_callback.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Normalizer callbacks
1+
Normalizer Data
22
=======================
33

4-
.. currentmodule:: pina.callback.normalizer_data_callback
4+
.. currentmodule:: pina.callback.processing.normalizer_data_callback
55
.. autoclass:: NormalizerDataCallback
66
:members:
77
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
PINA Progress Bar
2+
==================
3+
.. currentmodule:: pina.callback.processing.pina_progress_bar
4+
5+
.. autoclass:: PINAProgressBar
6+
:members:
7+
:show-inheritance:

docs/source/_rst/callback/processing_callback.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BaseDomain
2+
===========
3+
.. currentmodule:: pina.domain.base_domain
4+
5+
.. automodule:: pina.domain.base_domain
6+
7+
.. autoclass:: BaseDomain
8+
:members:
9+
:show-inheritance:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BaseOperation
2+
==============
3+
.. currentmodule:: pina.domain.base_operation
4+
5+
.. automodule:: pina.domain.base_operation
6+
7+
.. autoclass:: BaseOperation
8+
:members:
9+
:show-inheritance:

0 commit comments

Comments
 (0)