Changeset 51
- Timestamp:
- 08/30/11 10:06:40 (22 months ago)
- File:
-
- 1 edited
-
trunk/src/pspio_mesh.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pspio_mesh.h
r49 r51 18 18 $Id$ 19 19 */ 20 21 /** 22 * @file pspio_mesh.h 23 * @brief header file for the handling of the mesh 24 */ 20 25 21 26 #ifndef PSPIO_MESH_H … … 41 46 } pspio_mesh_t; 42 47 43 //typedef struct pspio_mesh_struct pspio_mesh_t;44 48 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 */ 45 55 int pspio_mesh_set_type(pspio_mesh_t *m, int type); 46 56 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 */ 47 64 int pspio_mesh_set_parameters(pspio_mesh_t *m, const double a, const double b); 48 65 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 */ 73 int pspio_mesh_set_points(pspio_mesh_t *m, const int np, double *r); 50 74 51 75 #endif
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/libpspio/chrome/site/your_project_logo.png)