1 /*! 2 * \file PipeMesh.hxx 3 * \brief 4 * \author Thomas Helfer 5 * \date 10 déc. 2015 6 * \copyright Copyright (C) 2006-2018 CEA/DEN, EDF R&D. All rights 7 * reserved. 8 * This project is publicly released under either the GNU GPL Licence 9 * or the CECILL-A licence. A copy of thoses licences are delivered 10 * with the sources of TFEL. CEA or EDF may also distribute this 11 * project under specific licensing conditions. 12 */ 13 14 #ifndef LIB_MTEST_PIPEMESH_HXX 15 #define LIB_MTEST_PIPEMESH_HXX 16 17 #include"MTest/Types.hxx" 18 19 namespace mtest{ 20 21 //! structure describing the pipe mesh 22 struct PipeMesh{ 23 //! how the pipe is modelled 24 enum ElementType{ 25 DEFAULT, 26 LINEAR, 27 QUADRATIC, 28 CUBIC 29 }; // end of enum ElementType 30 //! inner radius 31 real inner_radius = real(-1); 32 //! outer radius 33 real outer_radius = real(-1); 34 //! number of elements 35 int number_of_elements = -1; 36 //! element type 37 ElementType etype = DEFAULT; 38 }; // end of struct PipeMesh 39 40 } // end of namespace mtest 41 42 #endif /* LIB_MTEST_PIPEMESH_HXX */ 43