Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
Mpp
Commits
050bb3e6
Commit
050bb3e6
authored
Apr 25, 2022
by
daniele.corallo
Browse files
[439-refactor-stquadrature-handling] added GetFaceQuad for st disc
parent
e1def00b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib4_fem/discretization/SpaceTimeDiscretization.hpp
View file @
050bb3e6
...
...
@@ -145,6 +145,21 @@ public:
return
timeFaceQuad
;
}
using
IDiscretization
::
GetFaceQuad
;
const
QuadratureT
<
T
,
sDim
,
tDim
>
GetFaceQuad
(
int
faceid
,
DegreePair
degree
)
const
{
// Check for other ctypes QUADRILITERAL
if
(
faceid
<
4
){
const
vector
<
Point
>
&
faceqpoints
=
this
->
FaceQPoints
()[
faceid
];
const
Quadrature
&
spaceQ
=
this
->
GetCellFaceQuad
(
faceid
,
degree
.
space
);
const
Quadrature
&
timeQ
=
this
->
GetTimeFaceQuad
(
faceid
,
degree
.
time
);
return
QTensorT
<
T
,
sDim
,
tDim
>
({
spaceQ
,
timeQ
});
}
THROW
(
"Implement for other faces."
)
}
virtual
bool
isDgInTime
()
const
=
0
;
virtual
std
::
shared_ptr
<
STDiscretizationT
<>>
create
(
...
...
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