schiff

Estimate the radiative properties of soft particless
git clone git://git.meso-star.com/schiff.git
Log | Files | Refs | README | LICENSE

commit 43380f153c8fb10319466a986830f36a585f5929
parent b0a734b365592adb0d849e556d9576d7ef7dfcc5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 28 Apr 2020 14:50:48 +0200

Fix the short help and update its formatting

Diffstat:
Msrc/schiff_args.c | 57++++++++++++++++++++++++++++++++-------------------------
1 file changed, 32 insertions(+), 25 deletions(-)

diff --git a/src/schiff_args.c b/src/schiff_args.c @@ -48,48 +48,53 @@ print_help(const char* binary) printf( "Usage: %s [OPTIONS] [FILE]\n" "Estimate the radiative properties of soft particles whose per wavelength\n" -"optical properties are stored in FILE. If not defined, optical porperties are\n" -"read from standard input. Implement the model described in \"Monte Carlo\n" -"Implementation of Schiff's Approximation for Estimating Radiative Properties of\n" -"Homogeneous, Simple-Shaped and Optically Soft Particles: Application to\n" -"Photosynthetic Micro-Organisms\" (Charon et al. 2015).\n\n", +"optical properties are stored in FILE. If not defined, optical\n" +"porperties are read from standard input. Implement the model described\n" +"in \"Monte Carlo Implementation of Schiff's Approximation for Estimating\n" +"Radiative Properties of Homogeneous, Simple-Shaped and Optically Soft\n" +"Particles: Application to Photosynthetic Micro-Organisms\" (Charon et\n" +"al. 2015).\n\n", binary); printf( -" -a NUM_ANGLES number of phase function scattering angles. Default is %u.\n", +" -a NUM_ANGLES number of phase function scattering angles.\n" +" Default is %u.\n", SCHIFF_ARGS_NULL.nangles); printf( -" -A NUM_ANGLES number of computed inverse cumulative phase function values.\n" -" Default is %u.\n", +" -A NUM_ANGLES number of computed inverse cumulative phase function\n" +" values. Default is %u.\n", SCHIFF_ARGS_NULL.nangles_inv); printf( -" -d NUM_INSAMPS number of (incident direction, volume, ray(s)) sampling for each\n" -" sampled particle-shape. Default is %u.\n", +" -d NUM_INSAMPS number of (incident direction, volume, ray(s)) sampling\n" +" for each sampled particle-shape. Default is %u.\n", SCHIFF_ARGS_NULL.ninsamps); printf( -" -D discard computations of the [[inverse] cumulative] phase\n" -" functions for large scattering angles.\n"); +" -D discard computations of the [[inverse] cumulative]\n" +" phase functions for large scattering angles.\n"); printf( -" -g NUM_SHAPES number of sampled particle-shapes. This is actually the number\n" -" of realizations of the Monte Carlo algorithm. Default is %u.\n", +" -g NUM_SHAPES number of sampled particle-shapes. This is actually the\n" +" number of realizations of the Monte Carlo algorithm.\n" +" Default is %u.\n", SCHIFF_ARGS_NULL.nrealisations); printf( -" -G NUM sampled `NUM' particle shapes with respect to the defined\n" -" distribution, dump their geometry and exit.\n"); +" -G NUM sampled `NUM' particle shapes with respect to the\n" +" defined distribution, dump their geometry and exit.\n"); printf( " -h display this help and exit.\n"); printf( -" -i DISTRIB YAML file that defines the geometry distributions of the soft\n" -" particles.\n"); +" -i DISTRIB YAML file that defines the geometry distributions of\n" +" the soft particles.\n"); printf( " -l LENGTH characteristic length of the soft particles.\n"); printf( -" -n NTHREADS hint on the number of threads to use during the integration.\n" -" By default use as many threads as CPU cores.\n"); +" -n NTHREADS hint on the number of threads to use during the\n" +" integration. By default use as many threads as CPU\n" +" cores.\n"); printf( -" -o OUTPUT write results to OUTPUT. If not defined, write results to\n" -" standard output.\n"); +" -o OUTPUT write results to OUTPUT. If not defined, write results\n" +" to standard output.\n"); printf( -" -q do not print the helper message when no FILE is submitted.\n"); +" -q do not print the helper message when no FILE is\n" +" submitted.\n"); printf( " -w A[:B]... list of wavelengths in vacuum (expressed in micron) to\n" " integrate.\n"); @@ -97,8 +102,10 @@ print_help(const char* binary) " --version display version information and exit.\n"); printf("\n"); printf( -"software released under the GNU GPL license, version 3 or later. You are free\n" -"to change or redistribute it under certain conditions\n" +"Copyright (C) 2020 |Meso|Star> (contact@meso-star.com).\n" +"Copyright (C) 2015, 2016 CNRS. This is free software released under the\n" +"GNU GPL license, version 3 or later. You are free to change or\n" +"redistribute it under certain conditions\n" "<http://gnu.org/licenses/gpl.html>\n"); }