Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_io
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_io
Commits
4439fd06
Commit
4439fd06
authored
4 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing typo in install
parent
ed943ea0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2302
passed
4 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/CMakeLists.txt
src/RawReader/InitGridWithPixel.hpp
+1
-1
1 addition, 1 deletion
src/RawReader/InitGridWithPixel.hpp
src/util/PathsAndFiles.hpp
+3
-6
3 additions, 6 deletions
src/util/PathsAndFiles.hpp
with
5 additions
and
8 deletions
src/CMakeLists.txt
+
1
−
1
View file @
4439fd06
...
...
@@ -106,7 +106,7 @@ install(FILES HDF5_wr/HDF5_wr.hpp
DESTINATION openfpm_io/include/HDF5_wr
)
install
(
FILES RawReader/InitGridWithPixel.hpp
DESTINATION openfpm
/
io/include/RawReader/
)
DESTINATION openfpm
_
io/include/RawReader/
)
install
(
FILES util/PathsAndFiles.hpp
DESTINATION openfpm_io/include/util
)
...
...
This diff is collapsed.
Click to expand it.
src/RawReader/InitGridWithPixel.hpp
+
1
−
1
View file @
4439fd06
...
...
@@ -24,7 +24,7 @@
#include
"data_type/aggregate.hpp"
#include
"Decomposition/CartDecomposition.hpp"
#include
"
..
/redistancing_Sussman/HelpFunctionsForGrid.hpp"
#include
"
level_set
/redistancing_Sussman/HelpFunctionsForGrid.hpp"
typedef
signed
char
BYTE
;
/**@brief Read the number of pixels per dimension from a csv-file in order to create a grid with the same size.
*
...
...
This diff is collapsed.
Click to expand it.
src/util/PathsAndFiles.hpp
+
3
−
6
View file @
4439fd06
...
...
@@ -16,7 +16,7 @@
#include
<iostream>
#include
<fstream>
#include
<boost/filesystem.hpp>
/**@brief Gets the current working directory and returns path as string
without the "cmake-build-debug"
.
/**@brief Gets the current working directory and returns path as string.
*
* @return Std::string of path to current working directory.
*/
...
...
@@ -29,12 +29,9 @@ std::string get_cwd()
// convert current directory to string
std
::
string
s_cwd
;
s_cwd
=
cwd
;
// split string into file and path (to get rid of "cmake-build-debug" at the end of cwd)
std
::
size_t
botDirPos
=
s_cwd
.
find_last_of
(
"/"
);
std
::
string
dir
=
s_cwd
.
substr
(
0
,
botDirPos
);
dir
=
dir
+
"/"
;
// std::cout << "The current working directory is: " << dir << std::endl;
return
dir
;
return
s_cwd
;
}
/**@brief Checks if a file already exists.
*
...
...
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