Skip to content

Commit 61ce7d9

Browse files
authored
Reorganize examples (#826)
* Reorganize examples * Update .ci scripts
1 parent 32d0e60 commit 61ce7d9

File tree

53 files changed

+15
-8
lines changed

Some content is hidden

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

53 files changed

+15
-8
lines changed

.ci/run_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
for subdirectory in subdirectories:
2525
subdir = os.path.join(root, subdirectory)
2626
for file in glob.iglob(os.path.join(subdir, "*.py")):
27-
if sys.platform == "linux" and "07-python-operators" in file:
27+
if sys.platform == "linux" and "08-python-operators" in file:
2828
continue
2929
print("\n--------------------------------------------------")
3030
print(file)

.ci/run_non_regression_examples.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@
1515
list_tests = [
1616
os.path.join(actual_path, os.path.pardir, "examples", "00-basic"),
1717
os.path.join(actual_path, os.path.pardir, "examples", "01-transient_analyses"),
18-
os.path.join(actual_path, os.path.pardir, "examples", "02-modal-harmonic"),
19-
os.path.join(actual_path, os.path.pardir, "examples", "05-plotting", "00-basic_plotting.py"),
18+
os.path.join(actual_path, os.path.pardir, "examples", "02-modal_analyses"),
19+
os.path.join(actual_path, os.path.pardir, "examples", "03-harmonic_analyses"),
20+
os.path.join(actual_path, os.path.pardir, "examples", "06-plotting", "00-basic_plotting.py"),
2021
os.path.join(
2122
actual_path,
2223
os.path.pardir,
2324
"examples",
24-
"05-plotting",
25+
"06-plotting",
2526
"05-plot_on_warped_mesh.py",
2627
),
2728
os.path.join(
2829
actual_path,
2930
os.path.pardir,
3031
"examples",
31-
"06-distributed-post",
32+
"07-distributed-post",
3233
"00-distributed_total_disp.py",
3334
),
3435
]
@@ -39,7 +40,7 @@
3940
actual_path,
4041
os.path.pardir,
4142
"examples",
42-
"07-python-operators",
43+
"08-python-operators",
4344
"00-wrapping_numpy_capabilities.py",
4445
)
4546
)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _modal_examples:
2+
3+
Modal analysis examples
4+
=======================
5+
These examples show how to use DPF to extract and manipulate
6+
results from modal analyses.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.. _modal_harmonic_examples:
1+
.. _harmonic_examples:
22

33
Harmonic analysis examples
44
===========================
55
These examples show how to use DPF to extract and manipulate
6-
results from harmonic or modal analyses.
6+
results from harmonic analyses.

0 commit comments

Comments
 (0)