23 #include <front/fdecs.h>
27 #if defined(c_plusplus) || defined(__cplusplus)
50 F_BASIC_DATA *f_basic );
62 F_BASIC_DATA *f_basic);
74 F_BASIC_DATA *f_basic);
85 F_BASIC_DATA* f_basic );
106 LEVEL_FUNC_PACK *level_func_pack );
125 VELO_FUNC_PACK *velo_func_pack );
166 double (*func)(POINTER,
double*),
203 IMPORT
void FT_OptimizeMesh(Front *front, SCALED_REDIST_PARAMS params);
214 IMPORT
boolean FT_OptimizeSurfMesh(Front *front, SURFACE *surf, SCALED_REDIST_PARAMS params);
337 IMPORT
void FT_Save(Front *front);
345 IMPORT
void FT_Draw(Front *front);
360 boolean data_in_domain,
407 IMPORT
void FT_FreeCompGridIntfc(Front *front );
459 double *crx_coords );
479 IMPORT
boolean FT_StateStructAtGridCrossing(Front *front ,
480 INTERFACE *grid_intfc,
506 IMPORT
boolean FT_StateVarAtGridCrossing(Front *front ,
510 double (*state_func)(Locstate) ,
512 double *crx_coords );
551 double (*state_func)(POINTER) ,
553 double *default_ans);
576 double (*state_func)(POINTER) ,
578 double *default_ans);
618 IMPORT
boolean FT_FindNearestIntfcPointInRange(Front *front ,
622 double *intfc_point ,
624 HYPER_SURF_ELEMENT **hse ,
702 double *coords_bdry ,
725 void (*state_func)(
double*,HYPER_SURF*,Front*,POINTER,POINTER) ,
726 const char *state_func_name ,
727 POINTER state_func_params ,
753 void (*state_func)(
double*,HYPER_SURF*,Front*,POINTER,POINTER) ,
754 const char *state_func_name ,
755 POINTER state_func_params ,
908 double **vec_grid_array ,
987 HYPER_SURF_ELEMENT *hse,
1115 IMPORT
boolean FT_StateStructAtGridCrossing2(Front *front ,
1117 GRID_DIRECTION dir ,
1121 HYPER_SURF_ELEMENT **hse ,
1122 double *crx_coords );
1134 COMPONENT comp_of_vol);
1149 COMPONENT comp_of_vol,
1150 POINTER *grid_vol_frac);
1170 REDISTRIBUTION_DIRECTION dir);
1186 IMPORT CURVE *FT_MakeNodeArrayCurve(Front *front,
int num_nodes,
double **node_array,COMPONENT neg_comp,COMPONENT pos_comp,
boolean is_closed_curve,
double scale_factor,
int w_type);
1201 IMPORT CURVE *FT_MakePointArrayCurve(Front *front,
int num_points,
double **point_array,COMPONENT neg_comp,COMPONENT pos_comp,
boolean is_closed_curve,
int w_type);
1218 IMPORT
void FT_MakeEllipticSurf(Front *front,
double *center,
double *radius,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,
int refinement_level,SURFACE **surf);
1238 IMPORT
void FT_MakeDumbBellSurf(Front *front,
double x0,
double x1,
double y0,
double z0,
double R,
double r,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1256 IMPORT
void FT_MakeProjectileSurf(Front *front,
double *center,
double R,
double r,
double h,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1272 IMPORT CURVE *
FT_MakeParametricCurve(Front *front, COMPONENT neg_comp, COMPONENT pos_comp,
int w_type,
boolean (*func)(POINTER,
double,
double*), POINTER func_params,
int refinement_level,
boolean is_closed);
1286 IMPORT
void FT_RotateSurface(SURFACE *surf,
double *center,
double phi,
double theta);
1301 IMPORT
void FT_MakeCuboidSurf(Front *front,
double *center,
double *edge,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1317 IMPORT
void FT_MakeCylinderSurf(Front *front,
double *center,
double radius,
double height, COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1333 IMPORT
void FT_MakeConeSurf(Front *front,
double *center,
double slope,
double height, COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1348 IMPORT
void FT_MakeTetrahedronSurf(Front *front,
double *center,
double radius,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1365 IMPORT
void FT_MakePlaneSurf(Front *front,
double *plane_nor,
double *plane_pt,
boolean reset_bdry_comp,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,SURFACE **surf);
1392 IMPORT
void FT_CutSurfBdry(SURFACE *surf,
boolean constr_func(POINTER,
double*),POINTER func_params,
double **insert_coords,
int num_pts,
int insert_idir);
1409 IMPORT
void FT_MakeEllipticCurve(Front *front,
double *center,
double *radius,COMPONENT neg_comp,COMPONENT pos_comp,
int w_type,
int refinement_level,CURVE **curve);
1508 IMPORT
void FT_AddHdfMovieVariable(
1510 boolean preset_bound,
1512 COMPONENT obst_comp,
1513 const char *var_name,
1516 double (*getStateFunc)(POINTER),
1532 const char *var_name,
1533 double **var_field);
1547 const char *var_name,
1560 const char *var_name);
1576 IMPORT
void FT_ResetDomainAndGrid(Front *front,
1693 IMPORT
void FT_MakeStellatedOctahedronSurf(Front *front,
1710 IMPORT
void FT_InitSurfVeloFunc(SURFACE *surf,
1712 int (*vfunc)(POINTER,Front*,POINT*,HYPER_SURF_ELEMENT*,HYPER_SURF*,
double*));
1723 IMPORT
void FT_InitCurveVeloFunc(CURVE *curve,
1725 int (*vfunc)(POINTER,Front*,POINT*,HYPER_SURF_ELEMENT*,HYPER_SURF*,
double*));
1736 IMPORT
void FT_InitNodeVeloFunc(NODE *node,
1738 int (*vfunc)(POINTER,Front*,POINT*,HYPER_SURF_ELEMENT*,HYPER_SURF*,
double*));
1753 #if defined(c_plusplus) || defined(__cplusplus)