FronTier Structure

The general name of a directory containing your version of FronTier Every subdirectory containing FronTier source code is located under FronTier/src and has its own makefile.
These are the general subdirectories containing code:
util
The util-directory is basic to the whole code, and contains among many other things: This directory is assumed in the rest of the code.
Note: The util directory has its own makefile and is always compiled seperately from the main physics code

driver
The driver-directory contains the high level routines for running FronTier.

intfc
The intfc-directory contains definitions of the geometry of the interface, INTERFACE, and geometry manipulation routines.

front
The front-directory defines the FRONT: a geometric interface with states. Important files are:

hyp
The hyp-directory defines generic routines for the solution of hyperbolic equations, and defines the WAVE, which consists of a FRONT, and STATES in the components complimentary to front. Detailed information as to what a state is not available in WAVE, except how one can manipulate them, for certain solvers. The main routines:

tri
The tri-directory contains definitions for the TRI_GRID and routines for its construction. The TRI_GRID is used for the storage of states in the components complimentary to the front. Currently we support a number of number of different such constructions. The most recent one is a mix of bilinear elements, rectangular blocks, away from the front, and linear elements (simplices) adjacent to the front. The WAVE structure uses the TRI_GRID structure for its interior states.
As a result tri is of lower level than hyp.

ellip
The ellip-directory consists of elliptic and parabolic equation solvers. It assumes only: util, driver, intfc, and front.

physics
The existing physics directories go by their names:
If you look for "main", you will find it in the physics directory:
	FronTier/src/physics/physics-main.c
	
An example gas-main.

Initialization (options, interface, states, etc) is done in the (physics)init directory.
Most of the actual details: problem definition, specific solvers, riemann solvers, and diagnostic options are found in this physics directory.
Important files and subdirectories:

pak
In the pak-directory one finds packages from the outside, which are used in various places in the code. These packages go by their standard names, and we do not (or can not) make any changes to them. Since these packages are therefore static nobody actually has them in their own copy of FronTier, but rather links to compiled libraries.

HOSTTYPE
In the directory libs/HOSTTYPE (HOSTTYPE an architecture name, for instance sun4, mips, i686, i686.mpich,paragon, paragon.nx, or paragon.mpi), the compiled libraries wind up, either through the make process, or because you put compiled libraries in there directly or through symbolic links.


Back to Main Page


Comments?

Authors: Folkert Tangerman
Last revision: April 10, 1997

Copyright 1997 This article may be redistributed to other individuals for noncommercial use, provided that the entire text, all HTML codes, and this copyright notice remains intact and unaltered in any way. This article may not be resold, reprinted, or redistributed in whole or in part for compensation of any kind without prior written permission of the author.