00001 /************************************************************************************* 00002 * MechSys - A C++ library to simulate (Continuum) Mechanical Systems * 00003 * Copyright (C) 2005 Dorival de Moraes Pedroso <dorival.pedroso at gmail.com> * 00004 * Copyright (C) 2005 Raul Dario Durand Farfan <raul.durand at gmail.com> * 00005 * * 00006 * This file is part of MechSys. * 00007 * * 00008 * MechSys is free software; you can redistribute it and/or modify it under the * 00009 * terms of the GNU General Public License as published by the Free Software * 00010 * Foundation; either version 2 of the License, or (at your option) any later * 00011 * version. * 00012 * * 00013 * MechSys is distributed in the hope that it will be useful, but WITHOUT ANY * 00014 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 00015 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 00016 * * 00017 * You should have received a copy of the GNU General Public License along with * 00018 * MechSys; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, * 00019 * Fifth Floor, Boston, MA 02110-1301, USA * 00020 *************************************************************************************/ 00021 00022 #include <iostream> 00023 00024 #include "fem/fem.h" 00025 #include "fem/debug.h" 00026 00027 using std::cout; 00028 using std::endl; 00029 using LinAlg::Vector; 00030 00031 int main(int argc, char **argv) try 00032 { 00033 /* {{{ 00034 * t 00035 * | 00036 * | 00037 * | 3 00038 * @, 00039 * /|` 00040 * || `, 00041 * / | ', 00042 * | | \ 00043 * / | `. 00044 * | | `, 9 00045 * / @ 7 `@ 00046 * | | \ 00047 * / | `. 00048 * | | ', 00049 * 8 @ | \ 00050 * | @.,,_ 6 `. 00051 * | / 0 ``'-.,,@_ `. 00052 * | / ``''-.,,_ ', 2 00053 * | / ``'@.,,, 00054 * | ' ,.-`` ``''- s 00055 * | ,@ 4 _,-'` 00056 * ' / ,.'` 00057 * | / _.@`` 00058 * '/ ,-'` 5 00059 * |/ ,.-`` 00060 * / _,-`` 00061 * .@ '` 00062 * / 1 00063 * / 00064 * / 00065 * r 00066 }}} */ 00067 00068 FEM::Debug D; 00069 D.TestTet10ShapeAndDerivs(); 00070 00071 return 0; 00072 } 00073 catch (Exception * e) 00074 { 00075 e->Cout(); 00076 if (e->IsFatal()) exit(1); 00077 delete e; 00078 } 00079 catch (char const * s) 00080 { 00081 cout << "[1;31m Fatal:" << s << "[0m\n"; 00082 exit(1); 00083 } 00084 00085 // vim:fdm=marker