00001 #ifndef EXTRUDEMESH_H 00002 #define EXTRUDEMESH_H 00003 00004 #include "SundanceDefs.h" 00005 00006 #include "Mesh.h" 00007 00008 00009 namespace Sundance 00010 { 00011 00012 using namespace TSF; 00013 using std::string; 00014 00015 using std::ostream; 00016 00017 /** \relates Mesh 00018 * Extrude a 2-dimensional mesh into the third dimension. The starting 00019 * and finishing z-coordinates are z0 and z1. The number of mesh points 00020 * in the z-direction is nz 00021 */ 00022 Mesh extrudeMesh(const Mesh& inputMesh, double z0, double z1, int nz); 00023 00024 } 00025 #endif