00001 /*************************************************************************** 00002 * File: ./LoadFunctionElement.h 00003 * Author: Ronni Grapenthin, Geophysical Institute, UAF 00004 * Created: 2008-06-10 00005 * Licence: GPLv2 00006 * 00007 * ######################################################################### 00008 * 00009 * CrusDe, simulation framework for crustal deformation studies 00010 * Copyright (C) 2007 Ronni Grapenthin 00011 * 00012 * This program is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU General Public License 00014 * as published by the Free Software Foundation; version 2 00015 * of the License. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00025 * 00026 ****************************************************************************/ 00027 00028 #ifndef _load_function_element_h 00029 #define _load_function_element_h 00030 00031 #include <iostream> 00032 #include <string> 00033 #include <map> 00034 00035 using namespace std; 00036 00039 class LoadFunctionElement 00040 { 00041 00042 private: 00043 string load_name; 00044 string history_name; 00045 string history_job; 00046 string decay_name; 00047 string decay_job; 00048 00050 LoadFunctionElement(const LoadFunctionElement& x); 00051 00052 public: 00053 LoadFunctionElement(const string); /* Constructor */ 00054 virtual ~LoadFunctionElement(); /* Destructor */ 00055 00056 void setLoadName(const string); 00057 void setHistoryName(const string); 00058 void setDecayName(const string); 00059 void setHistoryJob(const string); 00060 void setDecayJob(const string); 00061 00062 const string getLoadName(); 00063 const string getHistoryName(); 00064 const string getDecayName(); 00065 const string getHistoryJob(); 00066 const string getDecayJob(); 00067 }; 00068 00069 00070 #endif // _load_function_element_h