Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SemiSmoothNewton.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephan Hilb
SemiSmoothNewton.jl
Commits
edfe26b0
Commit
edfe26b0
authored
3 years ago
by
Stephan Hilb
Browse files
Options
Downloads
Patches
Plain Diff
range -> codomain
parent
74fdf17b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/image.jl
+2
-2
2 additions, 2 deletions
src/image.jl
src/operator.jl
+1
-1
1 addition, 1 deletion
src/operator.jl
with
3 additions
and
3 deletions
src/image.jl
+
2
−
2
View file @
edfe26b0
...
@@ -160,7 +160,7 @@ function project_l2_lagrange!(u::FeFunction, img::AbstractArray)
...
@@ -160,7 +160,7 @@ function project_l2_lagrange!(u::FeFunction, img::AbstractArray)
opparams
=
(;
f
)
opparams
=
(;
f
)
nrdims
=
prod
(
space
.
size
)
nrdims
=
prod
(
space
.
size
)
# number of element dofs (i.e. local dofs not counting
range
dimensions)
# number of element dofs (i.e. local dofs not counting
codomain
dimensions)
nldofs
=
ndofs
(
space
.
element
)
nldofs
=
ndofs
(
space
.
element
)
a
(
xloc
,
u
,
du
,
v
,
dv
;
f
)
=
dot
(
u
,
v
)
a
(
xloc
,
u
,
du
,
v
,
dv
;
f
)
=
dot
(
u
,
v
)
...
@@ -348,7 +348,7 @@ function project_l2_pixel!(u::FeFunction, img)
...
@@ -348,7 +348,7 @@ function project_l2_pixel!(u::FeFunction, img)
opparams
=
(;
f
)
opparams
=
(;
f
)
nrdims
=
prod
(
space
.
size
)
nrdims
=
prod
(
space
.
size
)
# number of element dofs (i.e. local dofs not counting
range
dimensions)
# number of element dofs (i.e. local dofs not counting
codomain
dimensions)
nldofs
=
ndofs
(
space
.
element
)
nldofs
=
ndofs
(
space
.
element
)
# first loop to count number of triangles intersecting pixel evaluation
# first loop to count number of triangles intersecting pixel evaluation
...
...
This diff is collapsed.
Click to expand it.
src/operator.jl
+
1
−
1
View file @
edfe26b0
...
@@ -52,7 +52,7 @@ function assemble(space::FeSpace, a, l; params...)
...
@@ -52,7 +52,7 @@ function assemble(space::FeSpace, a, l; params...)
d
=
size
(
qx
,
1
)
# domain dimension
d
=
size
(
qx
,
1
)
# domain dimension
nrdims
=
prod
(
space
.
size
)
nrdims
=
prod
(
space
.
size
)
nldofs
=
ndofs
(
space
.
element
)
# number of element dofs (i.e. local dofs not counting
range
dimensions)
nldofs
=
ndofs
(
space
.
element
)
# number of element dofs (i.e. local dofs not counting
codomain
dimensions)
nqpts
=
length
(
qw
)
# number of quadrature points
nqpts
=
length
(
qw
)
# number of quadrature points
qphi_
=
zeros
(
nrdims
,
nrdims
,
nldofs
,
nqpts
)
qphi_
=
zeros
(
nrdims
,
nrdims
,
nldofs
,
nqpts
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment