~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/io/gid.h

  • Committer: logg
  • Date: 2002-09-13 12:55:37 UTC
  • Revision ID: devnull@localhost-20020913125537-gz6ry1id9xsvu6np
Tailorized "2002-09-13 07:55:37 by logg"
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// (c) 2002 Johan Hoffman & Anders Logg, Chalmers Finite Element Center.
 
2
// Licensed under the GNU GPL Version 2.
 
3
 
 
4
// FIXME: GiD output does not seem to work in the way it is described in the manual.
 
5
// FIXME: Temporary solution works to some extent.
 
6
 
 
7
#ifndef __GID_H
 
8
#define __GID_H
 
9
 
 
10
#include "Input.hh"
 
11
#include "Output.hh"
 
12
 
 
13
void gid_read_header  (FILE *fp, int *no_nodes, int *no_cells, CellType *celltype);
 
14
void gid_read_nodes   (FILE *fp, Grid *grid, int no_nodes);
 
15
void gid_read_cells   (FILE *fp, Grid *grid, int no_cells, CellType celltype);
 
16
 
 
17
void gid_write_header (FILE *fp, DataInfo *datainfo, SysInfo *sysinfo);
 
18
void gid_write_grid   (FILE *fp, Grid *grid);
 
19
void gid_write_field  (FILE *fp, Grid *grid, DataInfo *datainfo, Vector **u, real t, int frame, int no_vectors);
 
20
 
 
21
#endif