Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
4664f458
Commit
4664f458
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Adding missing file
parent
d92b2d61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test_multiple_o.cpp
+35
-0
35 additions, 0 deletions
src/test_multiple_o.cpp
with
35 additions
and
0 deletions
src/test_multiple_o.cpp
0 → 100644
+
35
−
0
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
);
}
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