Commit 024c4cf5 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Move local parameters into the mains

parent a0481701
......@@ -54,12 +54,13 @@
// Simply create particles and try the kernels
//
static const FParameterNames LocalOptitionHist = {
{"-histP", "--histogram-stat"} ,
"Build the histogram of the particle number per leaf."
};
int main(int argc, char ** argv){
const FParameterNames LocalOptitionHist = {
{"-histP", "--histogram-stat"} ,
"Build the histogram of the particle number per leaf."
};
FHelpDescribeAndExit(argc, argv,
"Driver to obtain statistics on the octree.",
FParameterDefinitions::InputFile, FParameterDefinitions::OctreeHeight,
......
......@@ -33,23 +33,23 @@
#include "../../Src/Utils/FMath.hpp"
#include "../../Src/Utils/FParameterNames.hpp"
static const FParameterNames LocalOptionMinPer {
{"-min"},
"The starting periodicity"
};
static const FParameterNames LocalOptionMaxPer {
{"-max"},
"The ending periodicity"
};
static const FParameterNames LocalOptionNbPrint {
{"-nbprint"},
"Number of result to print"
};
int main(int argc, char** argv){
const FParameterNames LocalOptionMinPer {
{"-min"},
"The starting periodicity"
};
const FParameterNames LocalOptionMaxPer {
{"-max"},
"The ending periodicity"
};
const FParameterNames LocalOptionNbPrint {
{"-nbprint"},
"Number of result to print"
};
FHelpDescribeAndExit(argc, argv,
"Run a Spherical Harmonic (Rotation) FMM kernel in periodic.",
FParameterDefinitions::InputFile, FParameterDefinitions::OctreeHeight,
......
......@@ -47,13 +47,14 @@
/** This program find the best block blas size
*/
static const FParameterNames LocalOptionMaxBlockSize {
{"-mbs"},
"The maximum size of blocks."
};
// Simply create particles and try the kernels
int main(int argc, char ** argv){
const FParameterNames LocalOptionMaxBlockSize {
{"-mbs"},
"The maximum size of blocks."
};
FHelpDescribeAndExit(argc, argv,
"Test the TSM (target source model) using the Rotation or the Spherical Harmonic Old implementations.",
FParameterDefinitions::OctreeHeight,FParameterDefinitions::SHDevelopment,
......
......@@ -40,12 +40,11 @@
static const FParameterNames LocalParameterEwald{
{"-ewaldfile2"},
"-ewaldfile2 name2 if name2 contains the result done by the ewald method for 1/r kernel"
};
int main(int argc, char ** argv){
const FParameterNames LocalParameterEwald{
{"-ewaldfile2"},
"-ewaldfile2 name2 if name2 contains the result done by the ewald method for 1/r kernel"
};
FHelpDescribeAndExit(argc, argv,
"Driver to change the format of the input file.",
FParameterDefinitions::InputFileOne, FParameterDefinitions::InputFileTwow,
......
......@@ -28,12 +28,11 @@
#include "../../Src/Utils/FParameterNames.hpp"
static const FParameterNames LocalOptionBlocSize {
{"-bs"},
"The size of the block of the blocked tree"
};
int main(int argc, char* argv[]){
const FParameterNames LocalOptionBlocSize {
{"-bs"},
"The size of the block of the blocked tree"
};
FHelpDescribeAndExit(argc, argv,
"Test the blocked tree.",
FParameterDefinitions::OctreeHeight, FParameterDefinitions::OctreeSubHeight,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment