00001 /* 00002 * Copyright (c) 2001 The AUTHORS 00003 * Romeu Andre' Pieritz, Ph.D. - romeu_pieritz@hotmail.com 00004 * Rafael Mendes, Eng. – mendes_rafael@yahoo.com 00005 * Rodrigo Ferraz de Andrade, Eng. – rferraz@iname.com 00006 * All rights reserved. 00007 * 00008 * Permission to use, copy and distribute this software and its 00009 * documentation for educational and personal use, without fee is hereby granted, 00010 * provided that the above copyright notice and the following 00011 * two paragraphs appear in all copies of this software. 00012 * 00013 * IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR 00014 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT 00015 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS 00016 * HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00017 * 00018 * THE AUTHORS SPECIFICALLY DISCLAIMS ANY WARRANTIES, 00019 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 00020 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HERE UNDER IS 00021 * ON AN "AS IS" BASIS, AND THE AUTHORS HAVE NO OBLIGATION TO 00022 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 00023 * 00024 * SINMEC Lab. - CFD Sinflow Project - http://www.sinmec.ufsc.br/cfd 00025 */ 00026 00027 00028 // File Define 00029 #ifndef __CSFL_GEOM_GRID_MIXED_H__ 00030 #define __CSFL_GEOM_GRID_MIXED_H__ 00031 00032 00033 // Include 00034 #include <csfl/geom/grid/grid.h> 00035 #include <csfl/geom/grid/nodedistribution.h> 00036 00037 00038 // Namespace 00039 namespace csfl { 00040 00041 //============================================================================== 00042 // Class IGridMixed 00043 // Description: Describes a Mixed Grid 00044 //============================================================================== 00045 00046 class IGridMixed : public IGrid 00047 { 00048 00052 public: 00053 00059 IGridMixed( 00060 int _row = 0, 00061 int _col = 0, 00062 double _R = 0.0, 00063 double _H = 0.0 , double _W = 0.0); 00064 00070 IGridMixed( 00071 const ISize &_size , 00072 double _R, 00073 double _H, double _W = 0.0 ); 00074 00075 00083 IGridMixed( 00084 int p_Ni, 00085 int p_Nj, 00086 double p_Radius, 00087 double p_Height, 00088 double p_Width, 00089 INodeDistribution * p_NiDirection); 00090 00091 00095 IGridMixed( IGridMixed *_m ); 00096 00097 ~IGridMixed() {} 00098 00102 double Radius() { return R; } 00103 00107 double Height() { return H; } 00108 00112 double Width() { return W; } 00113 00114 00115 protected: 00116 double R, H, W; 00117 00118 }; 00119 00120 //============================================================================== 00121 } // csfl namespace 00122 00123 #endif// __CSFL_GEOM_GRID_MIXED_H__
CFD Project
|
Documents |
Downloads |
Contact us |
Use Terms |
|
|||
© SINMEC/EMC/UFSC,
2001. |
All rights
reserved. |
Last Update: Jan. 18, 2002 |
|