Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
dea72514
Commit
dea72514
authored
Sep 29, 2022
by
René Fritze
Browse files
apply mega-linter fixes
parent
2ff1ddd3
Pipeline
#187451
passed with stages
in 44 minutes and 4 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/gitlab/ci.yml
View file @
dea72514
...
...
@@ -140,7 +140,7 @@ stages:
-
devpi upload --from-dir --formats=* ./dist/*.whl
-
python3 -m pip install pip~=22.0
-
python3 -m pip uninstall -y pymor ||
true
# the docker service adressing fails on other runners
# the docker service ad
d
ressing fails on other runners
tags
:
[
mike
]
.sanity_checks
:
...
...
.ci/gitlab/template.ci.py
View file @
dea72514
...
...
@@ -151,7 +151,7 @@ rules:
- devpi upload --from-dir --formats=* ./dist/*.whl
- python3 -m pip install pip~=22.0
- python3 -m pip uninstall -y pymor || true
# the docker service adressing fails on other runners
# the docker service ad
d
ressing fails on other runners
tags: [mike]
.sanity_checks:
...
...
AUTHORS.md
View file @
dea72514
...
...
@@ -153,7 +153,7 @@
*
BlockOperator and BlockDiagonalOperator
*
Michael Schaefer, michael.schaefer@uni-muenster.de
*
Robin bondary condition support for pymor.operators.cg
*
Robin bo
u
ndary condition support for pymor.operators.cg
### pyMOR 0.3
...
...
CONTRIBUTING.md
View file @
dea72514
...
...
@@ -124,7 +124,7 @@ pyMOR's main developers form a small
of developers which, apart from making contributions to pyMOR,
have the job of guiding and maintaining the future development of
pyMOR. They are the only persons with direct push acces to pyMOR's
main repository and have administrative privil
i
ges over the
main repository and have administrative privil
e
ges over the
[
pyMOR organization
](
https://github.com/pymor
)
on GitHub.
As pyMOR is an open project, everyone is invited to step up to
...
...
@@ -136,7 +136,7 @@ in discussions on the mailing list and through GitHub. The applicant
should be able to commit to the project for a time period of at
least one year.
Main developers will be automatically retired (losing all privil
i
ges)
Main developers will be automatically retired (losing all privil
e
ges)
if they have not shown any relevant activity over a period of one
year. Under special circumstances, the main developers
(excluding the developer in question) may decide by simple majority
...
...
docs/source/release_notes/2020.1.rst
View file @
dea72514
...
...
@@ -38,7 +38,7 @@ New system analysis and linear algebra algorithms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The new :meth:`~pymor.algorithms.eigs.eigs` method
`[#880] <https://github.com/pymor/pymor/pull/880>`_ computes
smallest/largest eigenvalues of an arbitary linear real |Operator|
smallest/largest eigenvalues of an arbit
r
ary linear real |Operator|
using the implicitly restarted Arnoldi method :cite:`RL95`. It can also
be used to solve generalized eigenvalue problems.
...
...
@@ -214,7 +214,7 @@ Further notable improvements
- `[#888] Implement FenicsVectorSpace.from_numpy <https://github.com/pymor/pymor/pull/888>`_
- `[#895] Implement VectorArray.__deepcopy__ via VectorArray.copy(deep=True) <https://github.com/pymor/pymor/pull/895>`_
- `[#905] Add from_files method to SecondOrderModel <https://github.com/pymor/pymor/pull/905>`_
- `[#919] [reductors.coercive] remove unnec
c
essary initialization in SimpleCoerciveReductor <https://github.com/pymor/pymor/pull/919>`_
- `[#919] [reductors.coercive] remove unnecessary initialization in SimpleCoerciveReductor <https://github.com/pymor/pymor/pull/919>`_
- `[#926] [Operators] Speed up apply methods for LincombOperator <https://github.com/pymor/pymor/pull/926>`_
- `[#937] Move NumpyListVectorArrayMatrixOperator out of the playground <https://github.com/pymor/pymor/pull/937>`_
- `[#943] [logger] adds a ctx manager that restores effective level on exit <https://github.com/pymor/pymor/pull/943>`_
docs/source/tutorial_external_solver.md
View file @
dea72514
...
...
@@ -143,7 +143,7 @@ with a few more advanced techniques added.
```
Again we define a `py:class\_` with appropiate name and docstring, but now we also indicate to pybind11
Again we define a `py:class\_` with approp
r
iate name and docstring, but now we also indicate to pybind11
that this class will implement the [buffer protocol](<https://docs.python.org/3/c-api/buffer.html>), which basically
exposes direct access to the chunk of memory associated with a `Vector` instance to Python.
We also see how we can dispatch multiple init functions by using `py:init` objects with C++ lambda functions.
...
...
@@ -223,7 +223,7 @@ our Python `model.Vector` and `model.DiffusionOperator` in pyMOR, we have to pro
{{ VectorArray }}, {{ VectorSpace }} and {{ Operator }} that wrap the classes defined in the extension module
and translate calls to the interface methods into operations on `model.Vector` and `model.DiffusionOperator`.
Instead of writing a full implementaion of a {{ VectorArray }} that manages multiple `model.Vector`
Instead of writing a full implementa
t
ion of a {{ VectorArray }} that manages multiple `model.Vector`
instances, we can instead implement a wrapper `WrappedVector` for a single `model.Vector` instance based on
{class}`~pymor.vectorarrays.list.CopyOnWriteVector` which will be used to create
{{ ListVectorArrays }} via a {class}`~pymor.vectorarrays.list.ListVectorSpace`-based `WrappedVectorSpace`.
...
...
docs/source/tutorial_optimization.md
View file @
dea72514
...
...
@@ -281,7 +281,7 @@ def prepare_data(offline_time=False, enrichments=False):
def record_results(function, data, adaptive_enrichment=False, opt_dict=None, mu=None):
if adaptive_enrichment:
# this is for the adaptive case! rom is shiped via the opt_dict argument.
# this is for the adaptive case! rom is ship
p
ed via the opt_dict argument.
assert opt_dict is not None
QoI, data, rom = function(mu, data, opt_dict)
opt_dict['opt_rom'] = rom
...
...
logo/README.md
View file @
dea72514
...
...
@@ -13,8 +13,8 @@ that you may use. Please use the logo as is and make no modifications. In partic
If you want to create a derived version of the logo for your own project, please ask us first.
<!-- markdownlint-disable MD033 -->
type |
PNG | SVG
------|------
|
---------
type | PNG
| SVG
------|------
-----------------------------------------------|-------------------------------------------
---------
color |
<img
src=
"pymor_logo.png"
width=
320
>
|
<img
src=
"pymor_logo.svg"
width=
320
>
black |
<img
src=
"pymor_logo_black.png"
width=
320
>
|
<img
src=
"pymor_logo_black.svg"
width=
320
>
white |
<img
src=
"pymor_logo_white_black_bg.png"
width=
320
>
|
<img
src=
"pymor_logo_white_black_bg.png"
width=
320
>
src/pymor/analyticalproblems/expressions.py
View file @
dea72514
...
...
@@ -95,7 +95,7 @@ def parse_expression(expression, parameters={}, values={}):
raise
ValueError
(
f
"""
While parsing expression
\t
{
expression
}
with parameters
{
parameters
}
and values
{
values
}
the following error occured:
with parameters
{
parameters
}
and values
{
values
}
the following error occur
r
ed:
\t
{
e
}
"""
)
from
e
...
...
src/pymor/models/symplectic.py
View file @
dea72514
...
...
@@ -110,7 +110,7 @@ class QuadraticHamiltonianModel(BaseQuadraticHamiltonianModel):
H_op
The |Operator| H_op.
h
The state-independet part of the Hamiltonian h.
The state-independe
n
t part of the Hamiltonian h.
time_stepper
The :class:`time-stepper <pymor.algorithms.timestepping.TimeStepper>`
to be used by :meth:`~pymor.models.interface.Model.solve`.
...
...
src/pymor/reductors/neural_network.py
View file @
dea72514
...
...
@@ -1025,7 +1025,7 @@ def train_neural_network(training_data, validation_data, neural_network,
(a dictionary of additional parameters for the learning rate
scheduler), `'es_scheduler_params'` (a dictionary of additional
parameters for the early stopping scheduler), and `'weight_decay'`
(non-negative real number that determines the streng
h
t of the
(non-negative real number that determines the strengt
h
of the
l2-regularization; if not provided or 0., no regularization is applied).
scaling_parameters
Dict of tensors that determine how to scale inputs before passing them
...
...
src/pymor/tools/typer.py
View file @
dea72514
...
...
@@ -7,7 +7,7 @@ from enum import Enum
def
Choices
(
choices
):
"""Multipe-choice options for typer.
"""Multip
l
e-choice options for typer.
This is a convenicence function that creates string Enums to be
used as the type of command-line arguments that can take a fixed set
...
...
src/pymordemos/burgers_dmd.py
View file @
dea72514
...
...
@@ -22,7 +22,7 @@ def main(
exp
:
float
=
Argument
(...,
help
=
'Exponent'
),
atol
:
float
=
Option
(
None
,
help
=
'Absolute tolerance'
),
continuous_time
:
bool
=
Option
(
False
,
help
=
'Show continous time system eigenvalues.'
),
continuous_time
:
bool
=
Option
(
False
,
help
=
'Show contin
u
ous time system eigenvalues.'
),
grid
:
int
=
Option
(
100
,
help
=
'Use grid with this number of elements.'
),
initial_data
:
Choices
(
'sin bump'
)
=
Option
(
'sin'
,
help
=
'Select the initial data.'
),
modes
:
int
=
Option
(
None
,
help
=
'Number of DMD modes'
),
...
...
github-bridge
@project_976_bot
mentioned in commit
39dc76c1
·
Jan 19, 2023
mentioned in commit
39dc76c1
mentioned in commit 39dc76c1ab3c28e3c0fdb277a216b1456c1100eb
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment