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
bd4fe841
Commit
bd4fe841
authored
13 years ago
by
Youett, Jonathan
Committed by
akbib@FU-BERLIN.DE
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove the wrapper class and use the new LocalGFETestFunctionFiniteElement
[[Imported from SVN: r7957]]
parent
6cc56170
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/gfe/globalgfetestfunctionbasis.hh
+3
-38
3 additions, 38 deletions
dune/gfe/globalgfetestfunctionbasis.hh
with
3 additions
and
38 deletions
dune/gfe/globalgfetestfunctionbasis.hh
+
3
−
38
View file @
bd4fe841
...
...
@@ -3,17 +3,7 @@
#include
<dune/fufem/functionspacebases/functionspacebasis.hh>
#include
<dune/gfe/localgfetestfunction.hh>
// forward declaration
//template <class Basis, class TargetSpace
//class GlobalGFETestFunctionBasis;
// not sure if this works
//template <class Basis, class TargetSpace>
//class GlobalGFETestFunctionBasis<Basis, TargetSpace>::LocalFiniteElement{};
template
<
class
LocalFE
,
class
TargetSpace
>
class
LocalTestFunctionWrapper
;
#include
<dune/gfe/localgfetestfunctionbasis.hh>
/** \brief A global basis for the gfe test functions.
*
...
...
@@ -26,13 +16,12 @@ class GlobalGFETestFunctionBasis : public FunctionSpaceBasis<typename Basis::Gri
public:
typedef
typename
Basis
::
GridView
GridView
;
typedef
LocalTestFunction
Wrapper
<
typename
Basis
::
LocalFiniteElement
,
TargetSpace
>
LocalFiniteElement
;
typedef
Local
GFE
TestFunction
Basis
<
typename
Basis
::
LocalFiniteElement
,
TargetSpace
>
LocalFiniteElement
;
private:
typedef
typename
GridView
::
template
Codim
<
0
>
::
Entity
Element
;
typedef
typename
GridView
::
Grid
::
ctype
ctype
;
typedef
GlobalGFETestFunctionBasis
<
Basis
,
TargetSpace
>
This
;
typedef
FunctionSpaceBasis
<
GridView
,
typename
TargetSpace
::
EmbeddedTangentVector
,
typename
This
::
LocalFiniteElement
>
Base
;
typedef
FunctionSpaceBasis
<
GridView
,
typename
TargetSpace
::
EmbeddedTangentVector
,
LocalFiniteElement
>
Base
;
public:
GlobalGFETestFunctionBasis
(
const
Basis
&
basis
,
const
CoefficientType
&
baseCoefficients
)
:
...
...
@@ -91,28 +80,4 @@ private:
mutable
LocalFiniteElement
*
lfe_
;
};
/** \brief Struct to wrap the LocalGeodesicTestFunction into a localBasis of a LocalFiniteElement. */
template
<
class
LocalFE
,
class
TargetSpace
>
class
LocalTestFunctionWrapper
{
public:
typedef
typename
LocalFE
::
Traits
::
LocalBasisType
::
Traits
BasisTraits
;
typedef
LocalGFETestFunction
<
BasisTraits
::
dimDomain
,
typename
BasisTraits
::
DomainFieldType
,
LocalFE
,
TargetSpace
>
LocalBasisType
;
LocalTestFunctionWrapper
(
const
LocalFE
&
localFiniteElement
,
const
std
::
vector
<
TargetSpace
>&
localCoefficients
)
:
localGfeTestFunction_
(
localFiniteElement
,
localCoefficients
)
{}
/** \brief Get the local Basis. */
const
LocalBasisType
&
localBasis
()
const
{
return
localGfeTestFunction_
;}
private
:
LocalBasisType
localGfeTestFunction_
;
};
#endif
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