Changeset 51


Ignore:
Timestamp:
08/30/11 10:06:40 (22 months ago)
Author:
micael
Message:
  • Added doxygen comments to mesh stuff.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pspio_mesh.h

    r49 r51  
    1818 $Id$ 
    1919*/ 
     20 
     21/** 
     22 * @file pspio_mesh.h 
     23 * @brief header file for the handling of the mesh  
     24 */ 
    2025 
    2126#ifndef PSPIO_MESH_H 
     
    4146} pspio_mesh_t; 
    4247 
    43 //typedef struct pspio_mesh_struct pspio_mesh_t; 
    4448 
     49/** 
     50 * Sets the type of the mesh. 
     51 * @param[inout] mesh: mesh structure to set 
     52 * @param[in] type: type of mesh. Can be LOG1, LOG2, or LINEAR. 
     53 * @return error code 
     54 */ 
    4555int pspio_mesh_set_type(pspio_mesh_t *m, int type); 
    4656 
     57/** 
     58 * Sets the mesh parameters. 
     59 * @param[inout] mesh: mesh structure to set 
     60 * @param[in] a: parameter a. The meaning depends on the type of mesh. 
     61 * @param[in] b: parameter b. The meaning depends on the type of mesh. 
     62 * @return error code 
     63 */ 
    4764int pspio_mesh_set_parameters(pspio_mesh_t *m, const double a, const double b); 
    4865 
    49 int pspio_mesh_set_points(pspio_mesh_t *m, const int np, double r[]); 
     66/** 
     67 * Sets the mesh points. 
     68 * @param[inout] mesh: mesh structure to set 
     69 * @param[in] np: number of points in the mesh. 
     70 * @param[in] r: pointer to mesh radial points 
     71 * @return error code 
     72 */ 
     73int pspio_mesh_set_points(pspio_mesh_t *m, const int np, double *r); 
    5074 
    5175#endif 
Note: See TracChangeset for help on using the changeset viewer.