Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
be06d3c9
Commit
be06d3c9
authored
Jun 07, 2017
by
incardon
Browse files
Adding missing files
parent
30be3bd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/GBoxes.hpp
0 → 100644
View file @
be06d3c9
/*
* Gboxes.hpp
*
* Created on: May 2, 2017
* Author: i-bird
*/
#ifndef OPENFPM_IO_SRC_UTIL_GBOXES_HPP_
#define OPENFPM_IO_SRC_UTIL_GBOXES_HPP_
/*! \brief This structure store the Box that define the domain inside the Ghost + domain box
*
\verbatim
(Ghost + Domain)
+------------------+
| |
| +------------+ <---------- (Domain)
| | | |
| | Domain | |
| | Box | |
| | | |
| | | |
| +------------+ |
| |
+------------------+
(0,0) local coordinate ---> ( x, y )
\endverbatim
*
* * Domain
*
* \tparam dim dimensionality
*
*/
template
<
unsigned
int
dim
>
struct
GBoxes
{
//! Ghost + Domain ghost
Box
<
dim
,
long
int
>
GDbox
;
//! Domain box
Box
<
dim
,
long
int
>
Dbox
;
//! origin of GDbox in global grid coordinates
Point
<
dim
,
long
int
>
origin
;
};
#endif
/* OPENFPM_IO_SRC_UTIL_GBOXES_HPP_ */
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