Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
828975d9
Unverified
Commit
828975d9
authored
Apr 21, 2022
by
Petar Mlinarić
Committed by
GitHub
Apr 21, 2022
Browse files
Merge pull request #1617 from artpelling/discrete-BT
enable discrete-time BT
parents
24959527
5d1bb8ff
Pipeline
#137963
failed with stages
in 62 minutes and 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
AUTHORS.md
View file @
828975d9
...
...
@@ -16,7 +16,7 @@
*
several additional features for neural networks
*
Art Pelling, a.pelling@tu-berlin.de
*
support for discrete-time LTI systems
and
Lyapunov equations
*
support for discrete-time LTI systems
,
Lyapunov equations
and balanced truncation
*
dedicated Hankel operator class
### pyMOR 2021.2
...
...
src/pymor/reductors/basic.py
View file @
828975d9
...
...
@@ -337,7 +337,7 @@ class LTIPGReductor(ProjectionBasedReductor):
return
projected_operators
def
build_rom
(
self
,
projected_operators
,
error_estimator
):
return
LTIModel
(
error_estimator
=
error_estimator
,
**
projected_operators
)
return
LTIModel
(
error_estimator
=
error_estimator
,
sampling_time
=
self
.
fom
.
sampling_time
,
**
projected_operators
)
def
extend_basis
(
self
,
**
kwargs
):
raise
NotImplementedError
...
...
src/pymor/reductors/bt.py
View file @
828975d9
...
...
@@ -136,8 +136,6 @@ class BTReductor(GenericBTReductor):
"""
def
_gramians
(
self
):
if
self
.
fom
.
sampling_time
>
0
:
raise
NotImplementedError
return
self
.
fom
.
gramian
(
'c_lrcf'
,
mu
=
self
.
mu
),
self
.
fom
.
gramian
(
'o_lrcf'
,
mu
=
self
.
mu
)
def
error_bounds
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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