Main Page   Modules   Compound List   File List   File Members  

Domain.h File Reference

This file documents the data structures contained in struct Domain and related APIs. More...

#include "common_headers.h"
#include "constants.h"

Go to the source code of this file.

Compounds

struct  Domain
 Domain. More...

struct  EdgeFaceMap
 EdgeFaceMap. More...

struct  FaceCellMap
 FaceCellMap. More...

struct  SortAsp
struct  VertexEdgeMap
 VertexEdgeMap. More...

struct  VertexVertexMap
 VertexVertexMap. More...


Functions

void domain_init (int cl_num, int fc_num, int ed_num, int vt_num, const char *file, struct Domain *dmn)
 domain_init

void find_face_cell_mapping (struct Domain *dmn)
 find_face_cell_mapping

void find_edge_face_mapping (struct Domain *dmn)
 find_edge_face_mapping

void find_vertex_vertex_mapping (struct Domain *dmn)
 find_vertex_vertex_mapping

void find_vertex_edge_mapping (struct Domain *dmn)
 find_vertex_edge_mapping

void output_domain (FILE *fp, struct Domain *dmn)
 output_domain

void serialize_domain (FILE *fp, struct Domain *dmn)
 output_domain

void domain_destroy (struct Domain *dmn)
 domain_destroy


Detailed Description

This file documents the data structures contained in struct Domain and related APIs.


Function Documentation

void domain_destroy struct Domain   dmn
 

domain_destroy

Works akin to C++ destructor. Invoke this on Domain object, it will take care of deallocating all its variables, datastructures.

void domain_init int    cl_num,
int    fc_num,
int    ed_num,
int    vt_num,
const char *    file,
struct Domain   dmn
 

domain_init

This method allocates space for Domain object dmn. It needs number of cells, faces, edges and vertices in the grid, and the grid file. The grid file is read by the file_reader, which may be specified using , or the dafult file reader (if none is specified)

void find_edge_face_mapping struct Domain   dmn
 

find_edge_face_mapping

This method finds edge to adjoining face mapping.

void find_face_cell_mapping struct Domain   dmn
 

find_face_cell_mapping

This method finds face to adjoining cell mapping.

void find_vertex_edge_mapping struct Domain   dmn
 

find_vertex_edge_mapping

This method finds vertex to adjoining edge mapping.

void find_vertex_vertex_mapping struct Domain   dmn
 

find_vertex_vertex_mapping

This method finds vertex to adjoining vertices mapping.

void output_domain FILE *    fp,
struct Domain   dmn
 

output_domain

This method outputs the domain object in default IO format.

void serialize_domain FILE *    fp,
struct Domain   dmn
 

output_domain

This method serializes the domain object (serializes).


Generated on Sun Nov 27 23:41:48 2005 by doxygen1.2.18