Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-curvedgrid
Commits
55a4c7e5
Commit
55a4c7e5
authored
Mar 31, 2020
by
Praetorius, Simon
Browse files
extract signature directly from gridfunction
parent
6eb075b8
Changes
1
Show whitespace changes
Inline
Side-by-side
dune/curvedsurfacegrid/gridfamily.hh
View file @
55a4c7e5
...
...
@@ -33,7 +33,7 @@ namespace Dune
template
<
class
GF
>
struct
DimRange
{
using
SigTraits
=
Functions
::
SignatureTraits
<
typename
GF
::
Signature
>
;
using
SigTraits
=
Functions
::
SignatureTraits
<
GF
>
;
using
Range
=
typename
SigTraits
::
RawRange
;
static
const
int
value
=
Range
::
size
();
};
...
...
@@ -44,7 +44,7 @@ namespace Dune
using
EntitySet
=
typename
GF
::
EntitySet
;
using
LocalContext
=
typename
EntitySet
::
Element
;
using
Range
=
typename
Functions
::
SignatureTraits
<
typename
GF
::
Signature
>::
Range
;
using
Range
=
typename
Functions
::
SignatureTraits
<
GF
>::
Range
;
using
LocalSignature
=
Range
(
typename
EntitySet
::
LocalCoordinate
);
static
const
bool
value
=
Functions
::
Concept
::
isDifferentiableLocalFunction
<
LF
,
LocalSignature
,
LocalContext
,
Functions
::
LocalDerivativeTraits
<
EntitySet
>::
template
Traits
>();
...
...
@@ -62,7 +62,7 @@ namespace Dune
using
HostGrid
=
GridOf_t
<
GF
>
;
using
GridFunction
=
GF
;
using
LocalFunction
=
std
::
decay_t
<
decltype
(
localFunction
(
std
::
declval
<
GF
>
()))
>
;
using
LocalFunction
=
std
::
decay_t
<
decltype
(
localFunction
(
std
::
declval
<
GF
const
&
>
()))
>
;
static
const
bool
differentiableLocalFunction
=
DifferentiableLocalFunction
<
GF
,
LocalFunction
>::
value
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment