| 1 |
|
/* nanoparticleBuilderCmd.h */ |
| 2 |
|
|
| 3 |
< |
/* File autogenerated by gengetopt version 2.15 */ |
| 3 |
> |
/* File autogenerated by gengetopt version 2.13.1 */ |
| 4 |
|
|
| 5 |
|
#ifndef NANOPARTICLEBUILDERCMD_H |
| 6 |
|
#define NANOPARTICLEBUILDERCMD_H |
| 25 |
|
struct gengetopt_args_info |
| 26 |
|
{ |
| 27 |
|
char * output_arg; /* Output file name. */ |
| 28 |
< |
char * output_orig; /* Output file name original value given at command line. */ |
| 29 |
< |
double latticeCnst_arg; /* Lattice spacing in Angstroms for cubic lattice.. */ |
| 30 |
< |
char * latticeCnst_orig; /* Lattice spacing in Angstroms for cubic lattice. original value given at command line. */ |
| 28 |
> |
double latticeConstant_arg; /* Lattice spacing in Angstroms for cubic lattice.. */ |
| 29 |
|
double radius_arg; /* Nanoparticle radius in Angstroms. */ |
| 30 |
< |
char * radius_orig; /* Nanoparticle radius in Angstroms original value given at command line. */ |
| 31 |
< |
double* ShellRadius_arg; /* Radius from the center of the particle to start a new shell in multi-component core-shell particle. Specified for each component > 1 in md file.. */ |
| 32 |
< |
char ** ShellRadius_orig; /* Radius from the center of the particle to start a new shell in multi-component core-shell particle. Specified for each component > 1 in md file. original value given at command line. */ |
| 33 |
< |
double* molFraction_arg; /* (Default) Builds a multi-component random mixed nanoparticle. Mole Fraction must be specified for each componet > 1 in MD file.. */ |
| 34 |
< |
char ** molFraction_orig; /* (Default) Builds a multi-component random mixed nanoparticle. Mole Fraction must be specified for each componet > 1 in MD file. original value given at command line. */ |
| 37 |
< |
double vacancyPCT_arg; /* Percentage of vacancies to build. */ |
| 38 |
< |
char * vacancyPCT_orig; /* Percentage of vacancies to build original value given at command line. */ |
| 39 |
< |
double* vacancyRadius_arg; /* Radius arround core-shell where vacancies should be located.. */ |
| 40 |
< |
char ** vacancyRadius_orig; /* Radius arround core-shell where vacancies should be located. original value given at command line. */ |
| 30 |
> |
double* shellRadius_arg; /* Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file.. */ |
| 31 |
> |
double* molFraction_arg; /* Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file.. */ |
| 32 |
> |
double vacancyPercent_arg; /* Percentage of atoms to remove from within vacancy range. */ |
| 33 |
> |
double vacancyInnerRadius_arg; /* Radius arround core-shell where vacancies should be located.. */ |
| 34 |
> |
double vacancyOuterRadius_arg; /* Radius arround core-shell where vacancies should be located.. */ |
| 35 |
|
|
| 36 |
|
int help_given ; /* Whether help was given. */ |
| 37 |
|
int version_given ; /* Whether version was given. */ |
| 38 |
|
int output_given ; /* Whether output was given. */ |
| 39 |
< |
int latticeCnst_given ; /* Whether latticeCnst was given. */ |
| 39 |
> |
int latticeConstant_given ; /* Whether latticeConstant was given. */ |
| 40 |
|
int radius_given ; /* Whether radius was given. */ |
| 41 |
< |
unsigned int ShellRadius_given ; /* Whether ShellRadius was given. */ |
| 41 |
> |
unsigned int shellRadius_given ; /* Whether shellRadius was given. */ |
| 42 |
|
unsigned int molFraction_given ; /* Whether molFraction was given. */ |
| 43 |
< |
int vacancyPCT_given ; /* Whether vacancyPCT was given. */ |
| 44 |
< |
unsigned int vacancyRadius_given ; /* Whether vacancyRadius was given. */ |
| 43 |
> |
int vacancyPercent_given ; /* Whether vacancyPercent was given. */ |
| 44 |
> |
int vacancyInnerRadius_given ; /* Whether vacancyInnerRadius was given. */ |
| 45 |
> |
int vacancyOuterRadius_given ; /* Whether vacancyOuterRadius was given. */ |
| 46 |
|
|
| 47 |
|
char **inputs ; /* unamed options */ |
| 48 |
|
unsigned inputs_num ; /* unamed options number */ |
| 50 |
|
|
| 51 |
|
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |
| 52 |
|
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); |
| 58 |
– |
int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); |
| 53 |
|
|
| 54 |
|
void cmdline_parser_print_help(void); |
| 55 |
|
void cmdline_parser_print_version(void); |