Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
4664f458
Commit
4664f458
authored
Feb 05, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding missing file
parent
d92b2d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
src/test_multiple_o.cpp
src/test_multiple_o.cpp
+35
-0
No files found.
src/test_multiple_o.cpp
0 → 100644
View file @
4664f458
/*
* test_multiple_o.cpp
*
* Created on: Feb 5, 2016
* Author: i-bird
*
*
* It just test that the compilation with multiple translation unit (*.o) does not
* produce error, if we have duplicated symbol in the translation unit we will get error
*
*/
#include "Vector/vector_dist.hpp"
#include "Grid/grid_dist_id.hpp"
#include "data_type/aggregate.hpp"
#include "Decomposition/CartDecomposition.hpp"
void
f
()
{
// Ghost
Ghost
<
3
,
float
>
g
(
0.01
);
size_t
bc
[
3
]
=
{
PERIODIC
,
PERIODIC
,
PERIODIC
};
Box
<
3
,
float
>
domain
({
0.0
,
0.0
,
0.0
},{
1.0
,
1.0
,
1.0
});
size_t
sz
[
3
];
sz
[
0
]
=
100
;
sz
[
1
]
=
100
;
sz
[
2
]
=
100
;
vector_dist
<
3
,
float
,
aggregate
<
float
>
,
CartDecomposition
<
3
,
float
>
>
vd
(
4096
,
domain
,
bc
,
g
);
grid_dist_id
<
3
,
float
,
aggregate
<
float
[
3
]
>
,
CartDecomposition
<
3
,
float
>>
g_dist
(
sz
,
domain
,
g
);
}
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