Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-c1elements
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
Maik Porrmann
dune-c1elements
Commits
e3e9b96d
Commit
e3e9b96d
authored
2 years ago
by
Porrmann, Maik
Browse files
Options
Downloads
Patches
Plain Diff
printBasis colors, add Todo comment
parent
29af37c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/functions/functionspacebases/lineartransformedlocalfiniteelement.hh
+2
-0
2 additions, 0 deletions
...functionspacebases/lineartransformedlocalfiniteelement.hh
dune/functions/utility/printbasis.hh
+30
-15
30 additions, 15 deletions
dune/functions/utility/printbasis.hh
with
32 additions
and
15 deletions
dune/functions/functionspacebases/lineartransformedlocalfiniteelement.hh
+
2
−
0
View file @
e3e9b96d
...
...
@@ -197,6 +197,8 @@ namespace Dune
transformator_
.
apply
(
out
,
x
,
element_
->
geometry
());
}
// TODO sfinae protected hessian method
//! \brief Polynomial order of the shape functions
auto
order
()
const
{
...
...
This diff is collapsed.
Click to expand it.
dune/functions/utility/printbasis.hh
+
30
−
15
View file @
e3e9b96d
...
...
@@ -90,8 +90,10 @@ namespace Dune
<<
labelPos
[
0
]
+
0.1
*
dirMatrix
[
i
][
0
]
<<
","
<<
labelPos
[
1
]
+
0.1
*
dirMatrix
[
i
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
}
...
...
@@ -103,15 +105,19 @@ namespace Dune
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
i
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
plotfile
<<
"set arrow from "
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
i
][
1
]
<<
" to "
<<
pos
[
0
]
+
0.2
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.2
*
dirMatrix
[
i
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
}
...
...
@@ -123,16 +129,20 @@ namespace Dune
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
0
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
0
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
plotfile
<<
"set arrow from "
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
0
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
0
][
1
]
<<
" to "
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
0
][
0
]
+
0.1
*
dirMatrix
[
1
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
0
][
1
]
+
0.1
*
dirMatrix
[
1
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
}
...
...
@@ -145,15 +155,19 @@ namespace Dune
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
i
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
plotfile
<<
"set arrow from "
<<
pos
[
0
]
+
0.1
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.1
*
dirMatrix
[
i
][
1
]
<<
" to "
<<
pos
[
0
]
+
0.2
*
dirMatrix
[
i
][
0
]
<<
","
<<
pos
[
1
]
+
0.2
*
dirMatrix
[
i
][
1
]
<<
" lt rgb "
<<
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isDirichlet
(
localIndex
)
?
"
\"
green
\"
"
:
"
\"
red
\"
"
)
?
"
\"
green
\"
lw 4"
:
(
lv
.
tree
().
finiteElement
().
localCoefficients
().
isClamped
(
localIndex
))
?
"
\"
blue
\"
lw 3"
:
"
\"
red
\"
lw 2"
)
<<
std
::
endl
;
}
}
...
...
@@ -275,7 +289,8 @@ namespace Dune
plotfile
<<
"set object circle front at "
<<
pos
[
0
]
<<
","
<<
pos
[
1
]
<<
" size first 0.08 fc rgb
\"
blue
\"
lw 4"
<<
std
::
endl
;
}
writeElementInfo
(
plotfile
,
localView
,
pos
,
key
,
i
);
// writes directions
if
(
entity
.
hasBoundaryIntersections
())
writeElementInfo
(
plotfile
,
localView
,
pos
,
key
,
i
);
// writes directions
}
else
if
(
key
.
codim
()
==
dim
-
1
)
// suppose this is normal derivative dof //TODO this is not
// valid for the vast majority of finite elements
...
...
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