Skip to content

Commit c7703e6

Browse files
committed
linter typos
1 parent 5c30db0 commit c7703e6

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

docs/format/file_geometry_shape.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
- {"n_layer": 1, "tag_layer": "terminal"}
4141

4242
# definition of the shapes composing the different domains
43-
# - dict with the domain name and a list of shape to be assembled
43+
# - dict with the domain name and a list of shapes to be assembled
4444
# - required information, the dict cannot be empty
4545
# - domain definition
46-
# - shape_layer: list of layer where the shape is located
46+
# - shape_layer: list of layers where the shape is located
4747
# - shape_operation: composition operation for assembling the shape ("add" or "sub")
4848
# - shape_type: type of the shape ("pad" or "trace" or "polygon")
4949
# - shape_data: data containing the shape geometry

docs/format/file_problem.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@
8181
# - "lumped" and "anisotropic": array
8282
# - the array contains the anisotropic parameters
8383
# - the same parameters are used for all the voxels
84-
# - arrays with following size are used: (3)
84+
# - arrays with the following size are used: (3)
8585
# - "distributed" and "isotropic": array
8686
# - the material parameters are isotropic
8787
# - different parameters are used for each voxel
88-
# - arrays with following size are used: (n_voxel)
88+
# - arrays with the following size are used: (n_voxel)
8989
# - "distributed" and "anisotropic": 2D array
9090
# - the material parameters are anisotropic
9191
# - different parameters are used for each voxel
92-
# - arrays with following size are used: (n_voxel, 3)
92+
# - arrays with the following size are used: (n_voxel, 3)
9393
# - source_val: source parameters
9494
# - dict of dicts with the source name and the source definition
9595
# - current source definition
@@ -114,7 +114,7 @@
114114
# - "distributed": array
115115
# - the source is using distributed parameters
116116
# - different parameters are used for each voxel
117-
# - arrays with following size are used: (n_voxel)
117+
# - arrays with the following size are used: (n_voxel)
118118
"sweep_solver":
119119
"sim_dc":
120120
"init": null

examples/config/cfg_data_matplotlib.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
"style": "default" # string with a Matplotlib style
77
"legend": "best" # location of the legend box
8-
"font": 12 # reference font size of the figure
8+
"font": 12 # reference font size for the figure

examples/config/cfg_data_pyvista.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"text_color": "black" # color of the text elements
1717
"title_font": 10 # font size of the title
1818
"colorbar_font": 15 # font size of the color bar
19-
"colorbar_size": 5 # number of division for the colorbar
19+
"colorbar_size": 5 # number of divisions for the colorbar
2020
"colorbar_plot": true # show (or not) the colorbar
2121
"background_color": "gray" # background color of the plot
2222
"axis_add": true # add (or not) the axis marker

examples/config/plotter.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyPEEC options for the plotter renderings.
22
#
3-
# A plot is described with a dictionary with the following fields:
3+
# A plot is described by a dictionary with the following fields:
44
# - framework: framework used for the rendering ("pyvista" or "matplotlib")
55
# - layout: string describing the plot type (see description below)
66
# - data_window: dictionary describing the plot window
@@ -20,7 +20,7 @@
2020
# - "norm_voxel": plot a scalar norm variable on the voxel structure
2121
# - "norm_point": plot a scalar norm variable on the point cloud
2222
# - title: title located at the corner of the plot (null for hiding)
23-
# - legend: legend of variable being shown with the color axis (null for hiding)
23+
# - legend: legend being shown with the color axis (null for hiding)
2424
# - var: name of the scalar norm variable to be plotted
2525
# - scale: scaling of the variable (scaling is done first)
2626
# - log: use (or not) a log scale for the color axis
@@ -32,7 +32,7 @@
3232
# - "phasor_voxel": plot a scalar phasor variable on the voxel structure
3333
# - "phasor_point": plot a scalar phasor variable on the point cloud
3434
# - title: title located at the corner of the plot (null for hiding)
35-
# - legend: legend of variable being shown with the color axis (null for hiding)
35+
# - legend: legend being shown with the color axis (null for hiding)
3636
# - var: name of the scalar phasor variable to be plotted
3737
# - phase: phase to be considered for the phasor (in radian)
3838
# - scale: scaling of the variable (scaling is done first)
@@ -45,7 +45,7 @@
4545
# - "arrow_voxel": plot a vector phasor variable on the voxel structure (arrow plot)
4646
# - "arrow_point": plot a vector phasor variable on the point cloud (arrow plot)
4747
# - title: title located at the corner of the plot (null for hiding)
48-
# - legend: legend of variable being shown with the color axis (null for hiding)
48+
# - legend: legend being shown with the color axis (null for hiding)
4949
# - var: name of the vector phasor variable to be plotted
5050
# - phase: phase to be considered for the phasor (in radian)
5151
# - scale: scaling of the variable (scaling is done first)
@@ -63,7 +63,7 @@
6363
# - marker: plot marker size
6464
# - width: plot line width
6565
#
66-
# - "convergence": plot an histogram with the solver residuum (matplotlib)
66+
# - "convergence": plot a histogram with the solver residuum (matplotlib)
6767
# - title: title located at the top of the plot (null for hiding)
6868
# - color_bar: fill color of the bins
6969
# - color_edge: "edge color of the bins

examples/config/tolerance.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# parallel pool/thread control for the sweeps
1313
parallel_sweep:
1414
"n_jobs": 0 # number of processes (0 for disabling, -1 for number of cores)
15-
"n_threads": null # number of inner thread per process (None for optimal number)
15+
"n_threads": null # number of inner threads per process (None for optimal number)
1616

1717
# control where numerical approximations are used for the Green and coupling functions
1818
# - if the normalized voxel distance is smaller than the threshold, analytical solutions are used
@@ -29,7 +29,7 @@ parallel_sweep:
2929
# method for dense matrix multiplication
3030
# - "fft" for doing the multiplication with circulant tensors and FFT
3131
# - "dense" for standard matrix multiplication with the full matrix
32-
# - "dense" is extremely slow and memory intensive
32+
# - "dense" is extremely slow and memory-intensive (dense matrices)
3333
# - "dense" is only useful for debugging and educational purposes
3434
"method": "fft"
3535

@@ -47,7 +47,7 @@ parallel_sweep:
4747
# - "SciPy" FFT library is always available (integrated with SciPy)
4848
# - "FFTW" has to be installed separately (available through pyFFTW)
4949
# - "MKL" has to be installed separately (available through mkl_fft)
50-
# - "CuPy" is extremely fast but require GPUs compatible with the CUDA toolkit.
50+
# - "CuPy" is extremely fast but requires GPUs compatible with the CUDA toolkit.
5151
"library": "SciPy"
5252

5353
# FFT algorithm options

examples/config/viewer.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyPEEC options for the viewer renderings.
22
#
3-
# A plot is described with a dictionary with the following fields:
3+
# A plot is described by a dictionary with the following fields:
44
# - framework: framework used for the rendering ("pyvista" or "matplotlib")
55
# - layout: string describing the plot type (see description below)
66
# - data_window: dictionary describing the plot window
@@ -14,7 +14,7 @@
1414
# - colormap: colormap used to plot the different voxel groups
1515
# - opacity: opacity of the face color
1616
#
17-
# - "component": plot the connect components of the voxel structure
17+
# - "component": plot the connected components of the voxel structure
1818
# - title: title located at the corner of the plot (null for hiding)
1919
# - colormap: colormap used to plot the different voxel groups
2020
# - opacity: opacity of the face color
@@ -28,7 +28,7 @@
2828
# - opacity_voxel: face opacity for the voxelized structure
2929
# - opacity_reference: face opacity for the reference structure
3030
#
31-
# - "component": plot a matrix showing the connected the domains (matplotlib)
31+
# - "component": plot a matrix showing the connected domains (matplotlib)
3232
# - title: title located at the top of the plot (null for hiding)
3333
# - color_edge: line color between the elements
3434
# - color_true: fill color for the true values

examples/tutorial/geometry.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
- {"n_layer": 1, "tag_layer": "copper_4"}
5050

5151
# definition of the shapes composing the different domains
52-
# - shape_layer: list of layer where the shape is located
52+
# - shape_layer: list of layers where the shape is located
5353
# - shape_operation: composition operation for assembling the shape ("add" or "sub")
5454
# - shape_type: type of the shape ("pad" or "trace" or "polygon")
5555
# - shape_data: data containing the shape geometry

pypeec/lib_plot/manage_matplotlib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
For the plotter, the following plots are available:
99
- A plot describing the convergence of the matrix solver.
10-
- An histogram describing the residuum of the solution.
10+
- A histogram describing the residuum of the solution.
1111
"""
1212

1313
__author__ = "Thomas Guillod"

0 commit comments

Comments
 (0)