Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-gdt
Commits
7647c3ed
Commit
7647c3ed
authored
8 years ago
by
Dr. Felix Tobias Schindler
Browse files
Options
Downloads
Patches
Plain Diff
update names and includes
parent
c3ef8f82
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/gdt/playground/local/integrands/OS2014.hh
+25
-25
25 additions, 25 deletions
dune/gdt/playground/local/integrands/OS2014.hh
with
25 additions
and
25 deletions
dune/gdt/playground/local/integrands/OS2014.hh
+
25
−
25
View file @
7647c3ed
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
// Copyright holders: Felix Schindler
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_
LOCALEVALUATION
_OS2014_HH
#ifndef DUNE_GDT_
PLAYGROUND_LOCAL_INTEGRANDS
_OS2014_HH
#define DUNE_GDT_
LOCALEVALUATION
_OS2014_HH
#define DUNE_GDT_
PLAYGROUND_LOCAL_INTEGRANDS
_OS2014_HH
#include
<tuple>
#include
<tuple>
#include
<memory>
#include
<memory>
...
@@ -15,24 +15,22 @@
...
@@ -15,24 +15,22 @@
#include
<dune/stuff/common/type_utils.hh>
#include
<dune/stuff/common/type_utils.hh>
#include
<dune/stuff/functions/interfaces.hh>
#include
<dune/stuff/functions/interfaces.hh>
#include
"../../localevaluation
/interface.hh
"
#include
<dune/gdt/local/integrands
/interface
s
.hh
>
namespace
Dune
{
namespace
Dune
{
namespace
GDT
{
namespace
GDT
{
namespace
LocalIntegrands
{
namespace
OS2014
{
// forward, to be used in the traits
// forward, to be used in the traits
template
<
class
DiffusionFactorImp
,
class
DiffusionFactorHatImp
,
class
DiffusionTensorImp
,
class
DiffusiveFluxImp
>
template
<
class
DiffusionFactorImp
,
class
DiffusionFactorHatImp
,
class
DiffusionTensorImp
,
class
DiffusiveFluxImp
>
class
DiffusiveFluxEstimateStar
;
class
Local
DiffusiveFluxEstimateStar
OS2014Integrand
;
namespace
internal
{
namespace
internal
{
template
<
class
DiffusionFactorType
,
class
DiffusionFactorHatType
,
class
DiffusionTensorType
,
class
DiffusiveFluxType
>
template
<
class
DiffusionFactorType
,
class
DiffusionFactorHatType
,
class
DiffusionTensorType
,
class
DiffusiveFluxType
>
class
DiffusiveFluxEstimateStarTraits
class
Local
DiffusiveFluxEstimateStar
OS2014Integrand
Traits
{
{
static_assert
(
Stuff
::
is_localizable_function
<
DiffusionFactorType
>::
value
,
static_assert
(
Stuff
::
is_localizable_function
<
DiffusionFactorType
>::
value
,
"DiffusionFactorType has to be a localizable function."
);
"DiffusionFactorType has to be a localizable function."
);
...
@@ -60,8 +58,8 @@ class DiffusiveFluxEstimateStarTraits
...
@@ -60,8 +58,8 @@ class DiffusiveFluxEstimateStarTraits
"Dimensions have to agree"
);
"Dimensions have to agree"
);
public:
public:
typedef
DiffusiveFluxEstimateStar
<
DiffusionFactorType
,
DiffusionFactorHatType
,
DiffusionTensorType
,
DiffusiveFluxType
>
typedef
Local
DiffusiveFluxEstimateStar
OS2014Integrand
<
DiffusionFactorType
,
DiffusionFactorHatType
,
derived_type
;
DiffusionTensorType
,
DiffusiveFluxType
>
derived_type
;
typedef
std
::
tuple
<
std
::
shared_ptr
<
typename
DiffusionFactorType
::
LocalfunctionType
>
,
typedef
std
::
tuple
<
std
::
shared_ptr
<
typename
DiffusionFactorType
::
LocalfunctionType
>
,
std
::
shared_ptr
<
typename
DiffusionFactorHatType
::
LocalfunctionType
>
,
std
::
shared_ptr
<
typename
DiffusionFactorHatType
::
LocalfunctionType
>
,
std
::
shared_ptr
<
typename
DiffusionTensorType
::
LocalfunctionType
>
,
std
::
shared_ptr
<
typename
DiffusionTensorType
::
LocalfunctionType
>
,
...
@@ -76,29 +74,33 @@ public:
...
@@ -76,29 +74,33 @@ public:
template
<
class
DiffusionFactorType
,
class
DiffusionFactorHatType
,
class
DiffusionTensorType
,
class
DiffusiveFluxType
>
template
<
class
DiffusionFactorType
,
class
DiffusionFactorHatType
,
class
DiffusionTensorType
,
class
DiffusiveFluxType
>
class
DiffusiveFluxEstimateStar
class
LocalDiffusiveFluxEstimateStarOS2014Integrand
:
public
LocalVolumeIntegrandInterface
<
internal
::
DiffusiveFluxEstimateStarTraits
<
DiffusionFactorType
,
:
public
LocalVolumeIntegrandInterface
<
internal
::
DiffusionFactorHatType
,
LocalDiffusiveFluxEstimateStarOS2014IntegrandTraits
<
DiffusionFactorType
,
DiffusionTensorType
,
DiffusionFactorHatType
,
DiffusiveFluxType
>
,
DiffusionTensorType
,
DiffusiveFluxType
>
,
2
>
2
>
{
{
typedef
LocalVolumeIntegrandInterface
<
internal
::
typedef
LocalVolumeIntegrandInterface
<
internal
::
DiffusiveFluxEstimateStarTraits
<
DiffusionFactorType
,
DiffusionFactorHatType
,
LocalDiffusiveFluxEstimateStarOS2014IntegrandTraits
<
DiffusionFactorType
,
DiffusionTensorType
,
DiffusiveFluxType
>
,
DiffusionFactorHatType
,
DiffusionTensorType
,
DiffusiveFluxType
>
,
2
>
BaseType
;
2
>
BaseType
;
public:
public:
typedef
internal
::
DiffusiveFluxEstimateStarTraits
<
DiffusionFactorType
,
DiffusionFactorHatType
,
DiffusionTensorType
,
typedef
internal
::
Local
DiffusiveFluxEstimateStar
OS2014Integrand
Traits
<
DiffusionFactorType
,
DiffusionFactorHatType
,
DiffusiveFluxType
>
Traits
;
DiffusionTensorType
,
DiffusiveFluxType
>
Traits
;
using
typename
BaseType
::
LocalfunctionTupleType
;
using
typename
BaseType
::
LocalfunctionTupleType
;
using
typename
BaseType
::
EntityType
;
using
typename
BaseType
::
EntityType
;
using
typename
BaseType
::
DomainFieldType
;
using
typename
BaseType
::
DomainFieldType
;
using
BaseType
::
dimDomain
;
using
BaseType
::
dimDomain
;
DiffusiveFluxEstimateStar
(
const
DiffusionFactorType
&
diffusion_factor
,
LocalDiffusiveFluxEstimateStarOS2014Integrand
(
const
DiffusionFactorType
&
diffusion_factor
,
const
DiffusionFactorHatType
&
diffusion_factor_hat
,
const
DiffusionFactorHatType
&
diffusion_factor_hat
,
const
DiffusionTensorType
&
diffusion_tensor
,
const
DiffusiveFluxType
&
diffusive_flux
)
const
DiffusionTensorType
&
diffusion_tensor
,
const
DiffusiveFluxType
&
diffusive_flux
)
:
diffusion_factor_
(
diffusion_factor
)
:
diffusion_factor_
(
diffusion_factor
)
,
diffusion_factor_hat_
(
diffusion_factor_hat
)
,
diffusion_factor_hat_
(
diffusion_factor_hat
)
,
diffusion_tensor_
(
diffusion_tensor
)
,
diffusion_tensor_
(
diffusion_tensor
)
...
@@ -229,12 +231,10 @@ private:
...
@@ -229,12 +231,10 @@ private:
const
DiffusionFactorHatType
&
diffusion_factor_hat_
;
const
DiffusionFactorHatType
&
diffusion_factor_hat_
;
const
DiffusionTensorType
&
diffusion_tensor_
;
const
DiffusionTensorType
&
diffusion_tensor_
;
const
DiffusiveFluxType
&
diffusive_flux_
;
const
DiffusiveFluxType
&
diffusive_flux_
;
};
// class DiffusiveFluxEstimateStar
};
// class
Local
DiffusiveFluxEstimateStar
OS2014Integrand
}
// namespace OS2014
}
// namespace LocalIntegrands
}
// namespace GDT
}
// namespace GDT
}
// namespace Dune
}
// namespace Dune
#endif // DUNE_GDT_
LOCALEVALUATION
_OS2014_HH
#endif // DUNE_GDT_
PLAYGROUND_LOCAL_INTEGRANDS
_OS2014_HH
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