FrontInitStandardIO

Get run parameters from arguments

Synopsis

#include "FronTier.h" 

void FrontInitStandardIO(int argc, char **argv, F_BASIC_DATA *f_basic_data);

Input Parameters

argc- number of arguments
argv- contents of arguments
f_basic_data - pointer to initialization data structure

Input Data Structure

Data structure of F_BASIC_DATA: struct _F_BASIC_DATA { /* Need to assign before calling FrontInitStandardIO() */ int dim; /* The following will get from FrontInitStandardIO() */ char in_name[200]; char out_name[200]; int subdomains[MAXD]; bool RestartRun; int RestartStep; char restart_name[200]; char restart_state_name[200]; /* The following are needed before FrontStartUp() */ float L[MAXD],U[MAXD]; int gmax[MAXD]; int boundary[MAXD][2]; size_t size_of_intfc_state; }; typedef struct _F_BASIC_DATA F_BASIC_DATA;

Notes

Examples

Example0 Example3