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
9
Merge Requests
9
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
6dd60a22
Commit
6dd60a22
authored
Dec 01, 2017
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
c710bb41
Pipeline
#22441
passed with stage
in 4 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
nifty/operators/dof_projection_operator.py
nifty/operators/dof_projection_operator.py
+2
-1
nifty/spaces/dof_space.py
nifty/spaces/dof_space.py
+1
-2
No files found.
nifty/operators/dof_projection_operator.py
View file @
6dd60a22
import
numpy
as
np
from
.linear_operator
import
LinearOperator
from
..
import
Field
from
..
import
Field
,
DomainTuple
,
dobj
from
..spaces
import
DOFSpace
...
...
nifty/spaces/dof_space.py
View file @
6dd60a22
from
.space
import
Space
import
numpy
as
np
class
DOFSpace
(
Space
):
def
__init__
(
self
,
dof_weights
):
super
(
DOFSpace
,
self
).
__init__
()
self
.
_dvol
=
tuple
(
dof_weights
)
self
.
_needed_for_hash
+=
[
'_dvol'
]
self
.
_needed_for_hash
+=
[
'_dvol'
]
@
property
def
harmonic
(
self
):
...
...
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