Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
Model registry
Operate
Environments
Monitor
Incidents
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
Sander, Oliver
dune-gfe
Commits
f0fa230e
Commit
f0fa230e
authored
10 years ago
by
Oliver Sander
Committed by
sander
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make BasisType a template parameter
[[Imported from SVN: r9967]]
parent
2f73f105
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/gfe/trustregionsolver.hh
+3
-9
3 additions, 9 deletions
dune/gfe/trustregionsolver.hh
with
3 additions
and
9 deletions
dune/gfe/trustregionsolver.hh
+
3
−
9
View file @
f0fa230e
...
...
@@ -20,11 +20,13 @@
#include
<dune/gfe/feassembler.hh>
/** \brief Trust-region solver */
template
<
class
Grid
Type
,
class
VectorType
>
template
<
class
Basis
Type
,
class
VectorType
>
class
TrustRegionSolver
:
public
IterativeSolver
<
VectorType
,
Dune
::
BitSetVector
<
VectorType
::
value_type
::
dimension
>
>
{
typedef
typename
BasisType
::
GridView
::
Grid
GridType
;
const
static
int
blocksize
=
VectorType
::
value_type
::
dimension
;
const
static
int
gridDim
=
GridType
::
dimension
;
...
...
@@ -37,14 +39,6 @@ class TrustRegionSolver
typedef
Dune
::
BlockVector
<
Dune
::
FieldVector
<
field_type
,
blocksize
>
>
CorrectionType
;
typedef
VectorType
SolutionType
;
#ifdef THIRD_ORDER
typedef
P3NodalBasis
<
typename
GridType
::
LeafGridView
,
double
>
BasisType
;
#elif defined SECOND_ORDER
typedef
P2NodalBasis
<
typename
GridType
::
LeafGridView
,
double
>
BasisType
;
#else
typedef
P1NodalBasis
<
typename
GridType
::
LeafGridView
,
double
>
BasisType
;
#endif
public:
TrustRegionSolver
()
...
...
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