Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
agnumpde
dune-solvers
Commits
bf40de7a
Commit
bf40de7a
authored
15 years ago
by
graeser
Committed by
graeser@PCPOOL.MI.FU-BERLIN.DE
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove support for old virtual interface
[[Imported from SVN: r3171]]
parent
1b6274ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/solvers/transferoperators/genericmultigridtransfer.hh
+0
-23
0 additions, 23 deletions
dune/solvers/transferoperators/genericmultigridtransfer.hh
with
0 additions
and
23 deletions
dune/solvers/transferoperators/genericmultigridtransfer.hh
+
0
−
23
View file @
bf40de7a
...
@@ -33,27 +33,6 @@ class GenericMultigridTransfer {
...
@@ -33,27 +33,6 @@ class GenericMultigridTransfer {
template
<
class
DT
,
class
RT
,
int
dim
>
template
<
class
DT
,
class
RT
,
int
dim
>
struct
P1ElementFactory
{
struct
P1ElementFactory
{
#ifdef DUNE_VIRTUAL_SHAPEFUNCTIONS
typedef
Dune
::
LocalFiniteElementInterface
<
DT
,
RT
,
dim
>
type
;
const
type
*
get
(
const
Dune
::
GeometryType
&
gt
)
{
if
(
gt
.
isSimplex
())
return
&
simplexBaseSet_
;
else
if
(
gt
.
isCube
())
return
&
cubeBaseSet_
;
else
if
(
gt
.
isPrism
())
// This cast is necessary because otherwise the code wouldn't compile for dim!=3
return
(
Dune
::
LocalFiniteElementInterface
<
DT
,
RT
,
dim
>*
)
&
prismBaseSet_
;
else
DUNE_THROW
(
Dune
::
NotImplemented
,
"transfer operators for "
<<
gt
);
}
private
:
Dune
::
P1LocalFiniteElement
<
DT
,
RT
,
dim
>
simplexBaseSet_
;
Dune
::
Q1LocalFiniteElement
<
DT
,
RT
,
dim
>
cubeBaseSet_
;
Dune
::
PrismP1LocalFiniteElement
<
DT
,
RT
>
prismBaseSet_
;
#else
private:
private:
// extract LocalBasisTraits from P1LocalFiniteElement
// extract LocalBasisTraits from P1LocalFiniteElement
typedef
typename
Dune
::
P1LocalFiniteElement
<
DT
,
RT
,
dim
>::
Traits
::
LocalBasisType
::
Traits
P1LocalBasisTraits
;
typedef
typename
Dune
::
P1LocalFiniteElement
<
DT
,
RT
,
dim
>::
Traits
::
LocalBasisType
::
Traits
P1LocalBasisTraits
;
...
@@ -80,8 +59,6 @@ class GenericMultigridTransfer {
...
@@ -80,8 +59,6 @@ class GenericMultigridTransfer {
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
P1LocalFiniteElement
<
DT
,
RT
,
dim
>
>
simplexBaseSet_
;
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
P1LocalFiniteElement
<
DT
,
RT
,
dim
>
>
simplexBaseSet_
;
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
Q1LocalFiniteElement
<
DT
,
RT
,
dim
>
>
cubeBaseSet_
;
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
Q1LocalFiniteElement
<
DT
,
RT
,
dim
>
>
cubeBaseSet_
;
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
PrismP1LocalFiniteElement
<
DT
,
RT
>
>
prismBaseSet_
;
Dune
::
LocalFiniteElementVirtualImp
<
Dune
::
PrismP1LocalFiniteElement
<
DT
,
RT
>
>
prismBaseSet_
;
#endif
};
};
public
:
public
:
...
...
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