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
amdis
Commits
e1ac36f7
Commit
e1ac36f7
authored
Aug 02, 2012
by
Praetorius, Simon
Browse files
Views updated
parent
8618030b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/Views.h
View file @
e1ac36f7
...
...
@@ -438,6 +438,10 @@ inline T evalAtPoint(AbstractFunction<T, WorldVector<double> > &obj, WorldVector
template
<
typename
T
,
typename
enable
=
void
>
struct
ValueType
{
typedef
T
type
;
};
template
<
typename
T
>
struct
ValueType
<
DOFVector
<
T
>
>
{
typedef
T
type
;
};
template
<
typename
T
>
struct
ValueType
<
std
::
vector
<
T
>
>
{
typedef
T
type
;
};
template
<
typename
T
>
struct
ValueType
<
std
::
list
<
T
>
>
{
typedef
T
type
;
};
template
<
typename
T
>
struct
ValueType
<
std
::
set
<
T
>
>
{
typedef
T
type
;
};
template
<
typename
T
>
struct
ValueType
<
mtl
::
dense_vector
<
T
>
>
{
typedef
T
type
;
};
template
<
typename
Derived
>
struct
ValueType
<
Derived
,
typename
boost
::
enable_if
<
boost
::
is_base_of
<
DOFView
<
double
>
,
Derived
>
>::
type
>
{
typedef
double
type
;
};
template
<
typename
Derived
>
struct
ValueType
<
Derived
,
typename
boost
::
enable_if
<
boost
::
is_base_of
<
DOFView
<
WorldVector
<
double
>
>
,
Derived
>
>::
type
>
{
typedef
WorldVector
<
double
>
type
;
};
template
<
typename
Derived
>
struct
ValueType
<
Derived
,
typename
boost
::
enable_if
<
boost
::
is_base_of
<
AbstractFunction
<
double
,
WorldVector
<
double
>
>
,
Derived
>
>::
type
>
{
typedef
double
type
;
};
...
...
Write
Preview
Supports
Markdown
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