Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
71cf89ea
Commit
71cf89ea
authored
Jun 26, 2020
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Fix use of function pugs function adapter
parent
8985538b
No related branches found
No related tags found
1 merge request
!37
Feature/language
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/language/modules/MeshModule.cpp
+4
-4
4 additions, 4 deletions
src/language/modules/MeshModule.cpp
with
4 additions
and
4 deletions
src/language/modules/MeshModule.cpp
+
4
−
4
View file @
71cf89ea
...
@@ -18,11 +18,11 @@
...
@@ -18,11 +18,11 @@
template
<
typename
T
>
template
<
typename
T
>
class
MeshTransformation
;
class
MeshTransformation
;
template
<
typename
OutputType
,
typename
...
InputType
>
template
<
typename
OutputType
,
typename
InputType
>
class
MeshTransformation
<
OutputType
(
InputType
...
)
>
:
public
PugsFunctionAdapter
<
OutputType
(
InputType
...
)
>
class
MeshTransformation
<
OutputType
(
InputType
)
>
:
public
PugsFunctionAdapter
<
OutputType
(
InputType
)
>
{
{
static
constexpr
size_t
Dimension
=
OutputType
::
Dimension
;
static
constexpr
size_t
Dimension
=
OutputType
::
Dimension
;
using
Adapter
=
PugsFunctionAdapter
<
OutputType
(
InputType
...
)
>
;
using
Adapter
=
PugsFunctionAdapter
<
OutputType
(
InputType
)
>
;
public:
public:
static
inline
std
::
shared_ptr
<
Mesh
<
Connectivity
<
Dimension
>>>
static
inline
std
::
shared_ptr
<
Mesh
<
Connectivity
<
Dimension
>>>
...
@@ -36,7 +36,7 @@ class MeshTransformation<OutputType(InputType...)> : public PugsFunctionAdapter<
...
@@ -36,7 +36,7 @@ class MeshTransformation<OutputType(InputType...)> : public PugsFunctionAdapter<
Array
<
ExecutionPolicy
>
context_list
=
Adapter
::
getContextList
(
expression
);
Array
<
ExecutionPolicy
>
context_list
=
Adapter
::
getContextList
(
expression
);
NodeValue
<
const
Out
putType
>
given_xr
=
given_mesh
.
xr
();
NodeValue
<
const
In
putType
>
given_xr
=
given_mesh
.
xr
();
NodeValue
<
OutputType
>
xr
(
given_mesh
.
connectivity
());
NodeValue
<
OutputType
>
xr
(
given_mesh
.
connectivity
());
using
execution_space
=
typename
Kokkos
::
DefaultExecutionSpace
::
execution_space
;
using
execution_space
=
typename
Kokkos
::
DefaultExecutionSpace
::
execution_space
;
...
...
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