Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
70535460
Commit
70535460
authored
8 years ago
by
René Heß
Browse files
Options
Downloads
Patches
Plain Diff
Use using in cpp code
parent
25a37f84
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/perftool/common/opcounter.hh
+1
-1
1 addition, 1 deletion
dune/perftool/common/opcounter.hh
dune/perftool/localbasiscache.hh
+8
-8
8 additions, 8 deletions
dune/perftool/localbasiscache.hh
dune/perftool/matrixfree.hh
+1
-1
1 addition, 1 deletion
dune/perftool/matrixfree.hh
with
10 additions
and
10 deletions
dune/perftool/common/opcounter.hh
+
1
−
1
View file @
70535460
...
...
@@ -28,7 +28,7 @@ namespace oc {
public:
type
def
std
::
size_t
size_type
;
using
size_
type
=
std
::
size_t
;
using
value_type
=
F
;
...
...
This diff is collapsed.
Click to expand it.
dune/perftool/localbasiscache.hh
+
8
−
8
View file @
70535460
...
...
@@ -35,16 +35,16 @@ class CacheReturnProxy
template
<
typename
FS
>
class
LocalBasisCacheWithoutReferences
{
typedef
typename
FS
::
Traits
::
FiniteElementMap
::
Traits
::
FiniteElementType
::
Traits
::
LocalBasisType
LocalBasisType
;
typedef
typename
Dune
::
PDELab
::
LocalBasisCache
<
LocalBasisType
>
Cache
;
typedef
typename
LocalBasisType
::
Traits
::
DomainFieldType
DomainFieldType
;
typedef
typename
LocalBasisType
::
Traits
::
DomainType
DomainType
;
typedef
typename
LocalBasisType
::
Traits
::
RangeType
RangeType
;
typedef
typename
LocalBasisType
::
Traits
::
JacobianType
JacobianType
;
using
LocalBasisType
=
typename
FS
::
Traits
::
FiniteElementMap
::
Traits
::
FiniteElementType
::
Traits
::
LocalBasisType
;
using
Cache
=
typename
Dune
::
PDELab
::
LocalBasisCache
<
LocalBasisType
>
;
using
DomainFieldType
=
typename
LocalBasisType
::
Traits
::
DomainFieldType
;
using
DomainType
=
typename
LocalBasisType
::
Traits
::
DomainType
;
using
RangeType
=
typename
LocalBasisType
::
Traits
::
RangeType
;
using
JacobianType
=
typename
LocalBasisType
::
Traits
::
JacobianType
;
public:
typedef
CacheReturnProxy
<
RangeType
>
FunctionReturnType
;
typedef
CacheReturnProxy
<
JacobianType
>
JacobianReturnType
;
using
FunctionReturnType
=
CacheReturnProxy
<
RangeType
>
;
using
JacobianReturnType
=
CacheReturnProxy
<
JacobianType
>
;
FunctionReturnType
evaluateFunction
(
const
DomainType
&
position
,
const
LocalBasisType
&
localbasis
)
const
{
...
...
This diff is collapsed.
Click to expand it.
dune/perftool/matrixfree.hh
+
1
−
1
View file @
70535460
...
...
@@ -10,7 +10,7 @@ namespace Dune{
template
<
typename
GO
,
typename
V
>
void
solveMatrixFree
(
GO
&
go
,
V
&
x
){
typedef
Dune
::
PDELab
::
OnTheFlyOperator
<
V
,
V
,
GO
>
ISTLOnTheFlyOperator
;
using
ISTLOnTheFlyOperator
=
Dune
::
PDELab
::
OnTheFlyOperator
<
V
,
V
,
GO
>
;
ISTLOnTheFlyOperator
opb
(
go
);
Dune
::
Richardson
<
V
,
V
>
richardson
(
1.0
);
Dune
::
BiCGSTABSolver
<
V
>
solverb
(
opb
,
richardson
,
1E-10
,
5000
,
2
);
...
...
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