Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hyteg
hyteg
Commits
efdc8b88
Commit
efdc8b88
authored
Apr 04, 2022
by
Nils Kohl
🌝
Browse files
And another msvc fix..
parent
ea67fb68
Pipeline
#38947
failed with stages
in 133 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/dgfunctionspace/DGFunction.hpp
View file @
efdc8b88
...
...
@@ -269,6 +269,14 @@ class DGFunction final : public Function< DGFunction< ValueType > >
WALBERLA_ABORT
(
"DGFunction::copyFrom() not implemented."
);
}
void
swap
(
const
DGFunction
<
ValueType
>&
other
,
const
uint_t
&
level
,
const
DoFType
&
flag
=
All
)
const
{
WALBERLA_UNUSED
(
other
);
WALBERLA_UNUSED
(
level
);
WALBERLA_UNUSED
(
flag
);
WALBERLA_ABORT
(
"DGFunction::swap() not implemented."
)
}
private:
using
Function
<
DGFunction
<
ValueType
>
>::
communicators_
;
using
Function
<
DGFunction
<
ValueType
>
>::
additiveCommunicators_
;
...
...
src/hyteg/p1functionspace/P1Operator.hpp
View file @
efdc8b88
...
...
@@ -1954,7 +1954,7 @@ class P1Operator : public Operator< P1Function< real_t >, P1Function< real_t > >
{
auto
neighborCell
=
storage_
->
getCell
(
edge_
->
neighborCells
().
at
(
neighborCellID
)
);
auto
vertexAssemblyIndexInCell
=
vertexdof
::
macroedge
::
getIndexInNeighboringMacroCell
(
{
i
,
0
,
0
},
*
edge_
,
neighborCellID
,
*
storage_
,
level_
);
vertexdof
::
macroedge
::
getIndexInNeighboringMacroCell
(
{
i
dx_t
(
i
)
,
0
,
0
},
*
edge_
,
neighborCellID
,
*
storage_
,
level_
);
edge_stencil
[
neighborCellID
]
=
P1Elements
::
P1Elements3D
::
assembleP1LocalStencilNew_new
<
P1Form
>
(
storage_
,
*
neighborCell
,
vertexAssemblyIndexInCell
,
level_
,
form_
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment