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 // File Define 00028 #ifndef __CSFL_MATH_BCOND_TYPE_CONV_H__ 00029 #define __CSFL_MATH_BCOND_TYPE_CONV_H__ 00030 00031 00032 // Include 00033 #include <csfl/math/bcond/bctype.h> 00034 00035 00036 // Namespace 00037 namespace csfl { 00038 00039 //============================================================================== 00040 // Class IBCTConv 00041 // Description: Class for Convective Flux in the Boundary 00042 //============================================================================== 00043 class IBCTConv : 00044 public IBCType 00045 00050 00051 { 00052 00053 public: 00054 00060 IBCTConv( 00061 IFunction *_h = NULL, 00062 IFunction *_too = NULL, 00063 const IString &_n = IString( "Convection" ), 00064 TBCType _id = bctConvection ); 00065 00067 IBCTConv( IBCTConv *_b ); 00068 00069 ~IBCTConv(); 00070 00079 double EvalH( double _pos ) 00080 { return function->Eval( _pos ); } 00081 00089 double EvalToo( double _pos ) 00090 { return too->Eval( _pos ); } 00091 00093 IFunction * FunctionToo() { return too; } 00094 00096 void SetFunctionToo( IFunction *_too ); 00097 00098 protected: 00099 IFunction *too; 00100 00101 }; 00102 } // csfl namespace 00103 00104 #endif// __CSFL_MATH_BCOND_TYPE_CONV_H__ 00105
CFD Project
|
Documents |
Downloads |
Contact us |
Use Terms |
|
|||
© SINMEC/EMC/UFSC,
2001. |
All rights
reserved. |
Last Update: Jan. 18, 2002 |
|