[Index for ./IO_Functions] [Return to Master Index]

writegrid

(./IO_Functions/writegrid.m)


Function Synopsis

err=writegrid(fem_grid_struct,fnamebase);

Help text

WRITEGRID write a fem_grid_struct to separate gridfiles (.ele, .nod,...)
   WRITEGRID writes the standard gridfiles .ele, .bat, .and nod to
   disk.  It also writes the neighbor list to a file with extension
   '.icm' if the .icm field of fem_grid_struct is filled.

   WRITEGRID(FEM_GRID_STRUCT) prompts the user for a gridname, and
   writes the files <gridname>.ele, <gridname>.bat, and <gridname>.nod
   (and possibly <gridname>.icm).

   WRITEGRID(FEM_GRID_STRUCT,FNAMEBASE) writes the files 
   <fnamebase>.ele, <fnamebase>.bat, and <fnamebase>.nod
   (and possibly <gridname>.icm).
 
   WRITEGRID returns a 0 if successful and a -1 if not. 
   

Cross-Reference Information

This function calls

Produced by mat2html on Tue Feb 2 16:15:45 EST 1999
Cross-Directory links are: OFF