Surface distance refinement

Name

Surface distance refinement -- Refining cells as a function of the distance to a surface

Synopsis


#include <gfs.h>


#define     GFS_REFINE_DISTANCE             (obj)
#define     GFS_IS_REFINE_DISTANCE          (obj)

            GfsRefineDistance;

GfsRefineClass* gfs_refine_distance_class   (void);

Description

For each candidate cell, GfsRefineDistance computes the distance from the cell center to the given surface. It then passes this distance as Distance argument to the user-defined function in order to get the maximum level of refinement allowed.

The syntax in parameter files is as follows:

[ GfsRefineSurface ]

Details

GFS_REFINE_DISTANCE()

#define     GFS_REFINE_DISTANCE(obj)

obj :


GFS_IS_REFINE_DISTANCE()

#define     GFS_IS_REFINE_DISTANCE(obj)

obj :


GfsRefineDistance

typedef struct {
  GfsRefineSurface parent;

  GNode * stree;
} GfsRefineDistance;


gfs_refine_distance_class ()

GfsRefineClass* gfs_refine_distance_class   (void);

Returns :