Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
00272081
Commit
00272081
authored
Apr 29, 2019
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'glspace_codomain' into 'NIFTy_5'
better `get_default_codomain` for GLSpace See merge request
!320
parents
c2bfa5d3
6dd5a62f
Pipeline
#47460
passed with stages
in 9 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nifty5/domains/gl_space.py
nifty5/domains/gl_space.py
+3
-1
No files found.
nifty5/domains/gl_space.py
View file @
00272081
...
...
@@ -103,7 +103,9 @@ class GLSpace(StructuredDomain):
The partner domain
"""
from
..domains.lm_space
import
LMSpace
return
LMSpace
(
lmax
=
self
.
_nlat
-
1
,
mmax
=
self
.
_nlon
//
2
)
mmax
=
self
.
_nlon
//
2
lmax
=
max
(
mmax
,
self
.
_nlat
-
1
)
return
LMSpace
(
lmax
=
lmax
,
mmax
=
mmax
)
def
check_codomain
(
self
,
codomain
):
"""Raises `TypeError` if `codomain` is not a matching partner domain
...
...
Write
Preview
Markdown
is supported
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