Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
b0ecd593
Commit
b0ecd593
authored
Nov 18, 2014
by
COULAUD Olivier
Browse files
Fix typo and includes
parent
c634eb11
Changes
4
Hide whitespace changes
Inline
Side-by-side
Examples/changeFmaFormat.cpp
View file @
b0ecd593
...
...
@@ -11,14 +11,14 @@
#include
<string>
#include
<cstdlib>
//
#include
"Utils/FGlobal.hpp"
#include
"Utils/FPoint.hpp"
#include
"Files/FFmaGenericLoader.hpp"
#include
"Files/FDlpolyLoader.hpp"
//
#include
"Utils/FGlobal.hpp"
#include
"Utils/FPoint.hpp"
#include
"Utils/FParameters.hpp"
#include
"Utils/FGenerateDistribution.hpp"
#include
"../Src/Utils/FParameterNames.hpp"
#include
"Utils/FParameterNames.hpp"
//
/// \file changeFmaFormat.cpp
...
...
Examples/statisticsOnOctree.cpp
View file @
b0ecd593
...
...
@@ -57,7 +57,7 @@
int
main
(
int
argc
,
char
**
argv
){
const
FParameterNames
LocalOpti
ti
onHist
=
{
const
FParameterNames
LocalOptionHist
=
{
{
"-histP"
,
"--histogram-stat"
}
,
"Build the histogram of the particle number per leaf."
};
...
...
@@ -65,7 +65,7 @@ int main(int argc, char ** argv){
"Driver to obtain statistics on the octree."
,
FParameterDefinitions
::
InputFile
,
FParameterDefinitions
::
OctreeHeight
,
FParameterDefinitions
::
OctreeSubHeight
,
FParameterDefinitions
::
OutputFile
,
LocalOpti
ti
onHist
);
FParameterDefinitions
::
OutputFile
,
LocalOptionHist
);
typedef
FBasicParticleContainer
<
0
>
ContainerClass
;
...
...
@@ -161,7 +161,7 @@ int main(int argc, char ** argv){
// Histogram of particles per leaf
//
if
(
FParameters
::
existParameter
(
argc
,
argv
,
LocalOpti
ti
onHist
.
options
)){
if
(
FParameters
::
existParameter
(
argc
,
argv
,
LocalOptionHist
.
options
)){
int
size
=
maxParticles
+
1
;
int
*
hist
=
new
int
[
size
]
;
memset
(
hist
,
0
,(
size
)
*
sizeof
(
int
));
...
...
Src/Components/FParticleType.hpp
View file @
b0ecd593
// ===================================================================================
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, B
é
renger Bramas, Matthias Messner
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, B
e
renger Bramas, Matthias Messner
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
...
...
Tests/noDist/testChebIntFMM.cpp
View file @
b0ecd593
...
...
@@ -152,15 +152,12 @@ static void Run(int argc, char* argv[])
{
// -----------------------------------------------------
std
::
cout
<<
"Creating & Inserting "
<<
loader
.
getNumberOf
Particles
()
std
::
cout
<<
"Creating & Inserting "
<<
nb
Particles
<<
" particles ..."
<<
std
::
endl
;
std
::
cout
<<
"
\t
Height : "
<<
TreeHeight
<<
"
\t
sub-height : "
<<
SubTreeHeight
<<
std
::
endl
;
time
.
tic
();
//
FPoint
position
;
FReal
physicalValue
=
0.0
;
//
for
(
int
idxPart
=
0
;
idxPart
<
loader
.
getNumberOfParticles
()
;
++
idxPart
){
for
(
int
idxPart
=
0
;
idxPart
<
nbParticles
;
++
idxPart
){
//
// Read particle per particle from file
//
...
...
@@ -259,3 +256,5 @@ int main(int argc, char** argv){
FRunIf
::
Run
<
unsigned
int
,
2
,
13
,
1
,
TempMainStruct
>
(
order
,
argc
,
argv
);
return
0
;
}
Write
Preview
Supports
Markdown
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