Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
dune-fem
dune-fem-dg
Commits
9eced1c1
Commit
9eced1c1
authored
9 years ago
by
Stefan Girke
Browse files
Options
Downloads
Patches
Plain Diff
easy switch for Taylor-Hood-Elements for Stokes
parent
111fb62d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/fem-dg/examples/stokes/algorithmcreator.hh
+4
-2
4 additions, 2 deletions
dune/fem-dg/examples/stokes/algorithmcreator.hh
with
4 additions
and
2 deletions
dune/fem-dg/examples/stokes/algorithmcreator.hh
+
4
−
2
View file @
9eced1c1
...
...
@@ -61,6 +61,8 @@ namespace Fem
static
const
Matrix
::
Enum
matrixEnum
=
Matrix
::
Enum
::
assembled
;
static
const
AdvectionFlux
::
Enum
advFluxEnum
=
AdvectionFlux
::
Enum
::
none
;
static
const
PrimalDiffusionFlux
::
Enum
diffFluxEnum
=
PrimalDiffusionFlux
::
Enum
::
general
;
// for Taylorhood (P2,P1) equal one
static
const
int
pressureOrderReduction
=
1
;
//produce some static compiler warnings in case we are using an uninstalled solver
static
const
AvailableSolvers
<
solverEnum
>
checkSolverInstalled
;
...
...
@@ -195,7 +197,7 @@ namespace Fem
private:
typedef
typename
SubPoissonAlgorithmCreator
::
template
DiscreteTraits
<
polOrd
>
PoissonDiscreteTraits
;
typedef
typename
PoissonDiscreteTraits
::
DiscreteFunctionType
VelDiscreteFunctionType
;
typedef
typename
AC
::
template
DiscreteFunctionSpaces
<
GridPartType
,
polOrd
,
FunctionSpaceType
>
typedef
typename
AC
::
template
DiscreteFunctionSpaces
<
GridPartType
,
polOrd
-
pressureOrderReduction
,
FunctionSpaceType
>
DFSpaceType
;
public:
typedef
typename
AC
::
template
DiscreteFunctions
<
DFSpaceType
>
DiscreteFunctionType
;
...
...
@@ -205,7 +207,7 @@ namespace Fem
class
Operator
{
typedef
typename
AC
::
template
DefaultAssembTraits
<
DFSpaceType
,
DFSpaceType
,
polOrd
,
AnalyticalTraits
>
typedef
typename
AC
::
template
DefaultAssembTraits
<
DFSpaceType
,
DFSpaceType
,
polOrd
-
pressureOrderReduction
,
AnalyticalTraits
>
OpTraits
;
typedef
AssemblerTraitsList
<
std
::
tuple
<
VelDiscreteFunctionType
,
DiscreteFunctionType
>
,
AC
::
template
Containers
>
AssTraits
;
...
...
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