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
901b6cf9
Commit
901b6cf9
authored
9 years ago
by
Stefan Girke
Browse files
Options
Downloads
Patches
Plain Diff
fix some obvious compiler errors
parent
66d03d44
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/fem-dg/algorithm/caller/adapt.hh
+1
-1
1 addition, 1 deletion
dune/fem-dg/algorithm/caller/adapt.hh
dune/fem-dg/algorithm/sub/elliptic.hh
+6
-5
6 additions, 5 deletions
dune/fem-dg/algorithm/sub/elliptic.hh
with
7 additions
and
6 deletions
dune/fem-dg/algorithm/caller/adapt.hh
+
1
−
1
View file @
901b6cf9
...
...
@@ -237,7 +237,7 @@ namespace Fem
// some info in verbose mode
if
(
Fem
::
Parameter
::
verbose
()
)
{
std
::
cout
<<
"Start adaptation:
step "
<<
startCount
<<
",
grid size: "
<<
alg
->
gridSize
()
std
::
cout
<<
"Start adaptation: grid size: "
<<
alg
->
gridSize
()
<<
std
::
endl
;
}
}
...
...
This diff is collapsed.
Click to expand it.
dune/fem-dg/algorithm/sub/elliptic.hh
+
6
−
5
View file @
901b6cf9
...
...
@@ -158,13 +158,14 @@ namespace Fem
typedef
DiscreteFunctionImp
DiscreteFunctionType
;
typedef
typename
DiscreteFunctionType
::
DiscreteFunctionSpaceType
DiscreteFunctionSpaceType
;
typedef
DiscreteFunctionType
::
GridPartType
GridPartType
;
typedef
typename
DiscreteFunctionType
::
GridPartType
GridPartType
;
typedef
typename
GridPartType
::
GridType
GridType
;
typedef
AssemblerImp
AssemblerType
;
static
const
int
polynomialOrder
=
polOrder
;
typedef
typename
DiscreteFunctionSpaceType
::
template
ToNewDimRange
<
dimension
*
ModelType
::
dimRange
>
::
NewFunctionSpaceType
SigmaFunctionSpaceType
;
template
ToNewDimRange
<
GridType
::
dimension
*
DiscreteFunctionSpaceType
::
FunctionSpaceType
::
dimRange
>
::
NewFunctionSpaceType
SigmaFunctionSpaceType
;
PoissonSigmaEstimator
(
GridPartType
&
gridPart
,
const
DiscreteFunctionType
&
solution
,
...
...
@@ -564,7 +565,7 @@ namespace Fem
typedef
typename
SigmaEstimatorType
::
DiscreteFunctionType
DiscreteFunctionType
;
typedef
typename
SigmaEstimatorType
::
AssemblerType
AssemblerType
;
typedef
typename
SigmaEstimatorType
::
SigmaFunctionSpaceType
SigmaFunctionSpaceType
;
typedef
typename
DiscreteFunctionType
::
DiscreteFunctionSpaceType
DiscreteFunctionType
;
typedef
typename
DiscreteFunctionType
::
DiscreteFunctionSpaceType
DiscreteFunction
Space
Type
;
typedef
typename
DiscreteFunctionType
::
GridPartType
GridPartType
;
typedef
typename
GridPartType
::
GridType
GridType
;
static
const
int
polOrder
=
SigmaEstimatorType
::
polynomialOrder
;
...
...
@@ -576,7 +577,7 @@ namespace Fem
public
:
typedef
uint64_t
UInt64Type
;
PAdapt
ivity
(
GridType
&
grid
,
const
DiscreteFunctionType
&
solution
,
AssemblerType
&
assembler
,
const
std
::
string
name
=
""
)
PAdapt
Indicator
(
GridType
&
grid
,
const
DiscreteFunctionType
&
solution
,
AssemblerType
&
assembler
,
const
std
::
string
name
=
""
)
:
pAdapt_
(
grid
,
solution
.
space
()
),
sigmaEstimator_
(
solution
.
gridPart
(),
solution
,
assembler
,
name
)
{}
...
...
@@ -620,7 +621,7 @@ namespace Fem
const
int
finestLevel
()
const
{
return
0
;
}
// return some info
const
Sigma
FunctionType
&
sigma
()
const
typename
SigmaEstimatorType
::
SigmaLocal
Function
Adapter
Type
&
sigma
()
{
return
sigmaEstimator_
.
sigma
()
}
...
...
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