hp2FEM
0.1
|
00001 #ifndef _LOADINTENSITY_H_ 00002 #define _LOADINTENSITY_H_ 00003 // --------------------------------------------- 00004 // company : 00005 // user : 00006 // date : 22 Mar 2015 17:24 00007 // file : LoadIntensity.h 00008 // markers : Full 00009 // language : C++ 00010 // generator : Metamill 6.0 00011 // --------------------------------------------- 00012 00013 //#UBLK-BEG-HEADERH 00014 //============================================================== 00015 // Description : 00016 //-------------------------------------------------------------- 00017 // Author : Gilberto Luis 00018 // Created : 22 Jun 2011 00019 //-------------------------------------------------------------- 00020 // Change history : 00021 // 22 Jun 2011 (Gilberto Luis) Initial version generated 00022 // 00023 //============================================================== 00024 //#UBLK-END-HEADERH 00025 00026 /*================================================================================================= 00027 = = 00028 = Copyright 2010-2015 Marco Lucio Bittencourt / Fabiano Fernandes Bargos = 00029 = Gilberto Luis Valente / Jorge Luis Suzuki / Allan Patrick Cordeiro Dias = 00030 = = 00031 = Licensed under the Apache License, Version 2.0 (the "License"); = 00032 = you may not use this file except in compliance with the License. = 00033 = You may obtain a copy of the License at = 00034 = = 00035 = http://www.apache.org/licenses/LICENSE-2.0 = 00036 = = 00037 = Unless required by applicable law or agreed to in writing, software = 00038 = distributed under the License is distributed on an "AS IS" BASIS, = 00039 = WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. = 00040 = See the License for the specific language governing permissions and = 00041 = limitations under the License. = 00042 = = 00043 =================================================================================================*/ 00044 00045 00046 #include <cstring> 00047 #include "model/Solver_defs.h" 00048 00049 00057 class LoadIntensity 00058 { 00059 //#UBLK-BEG-CLASSDEF mm:aa9e4063-02d2-11e0-89cb-b0660132333d 00060 //#UBLK-END-CLASSDEF 00061 00062 public: 00063 00064 // METHOD=mm:6178b59d-5592-11e0-8a13-cd08645cc9e7 00065 LoadIntensity(); 00066 00067 // METHOD=mm:9565df35-564f-11e0-8f97-d10de8031633 00068 LoadIntensity(LoadIntensity& Instance); 00069 00070 // METHOD=mm:cb0aced9-564f-11e0-8f97-d10de8031633 00071 ~LoadIntensity(); 00072 00073 // METHOD=mm:dbbb5a0f-564f-11e0-8f97-d10de8031633 00074 LoadIntensity& operator=(LoadIntensity& Instance); 00075 00076 // METHOD=mm:ad4e1eed-3e8d-11e0-804a-84bd3f43cb42 00077 unsigned long GetEntityOrElementNumber(); 00078 00079 // METHOD=mm:0027e36f-3e8e-11e0-804a-84bd3f43cb42 00080 unsigned long GetLocalEdgeOrFaceNumber(); 00081 00082 // METHOD=mm:28252b27-3eaa-11e0-868c-c6c3e3327f54 00083 unsigned long GetNumberDirectionsOrDOFs(); 00084 00085 // METHOD=mm:6d954747-3ea9-11e0-868c-c6c3e3327f54 00086 char** GetDirectionOrDOFNames(unsigned long& NumberDirectionOrDOFs); 00087 00088 // METHOD=mm:250c97c2-5652-11e0-8f97-d10de8031633 00089 char* GetSymbolicNumericFlag(unsigned long& NumberDirectionOrDOFs); 00090 00091 // METHOD=mm:c8f64748-5652-11e0-8f97-d10de8031633 00092 double GetNumericalValue(unsigned long& DirectionOrDOFCardinality); 00093 00094 // METHOD=mm:6b163074-5653-11e0-8f97-d10de8031633 00095 char* GetSymbolicExpression(unsigned long& DirectionOrDOFCardinality); 00096 00097 // METHOD=mm:817f7de7-3e8e-11e0-804a-84bd3f43cb42 00098 unsigned long* GetLoadCardinality(); 00099 00100 00104 // attr=mm:9bfdff61-3de6-11e0-891a-d4865a8b0383 00105 unsigned long EntElementNumber; 00106 00110 // attr=mm:006e9ab1-3dea-11e0-891a-d4865a8b0383 00111 unsigned long LocalEntNum; 00112 00116 // attr=mm:acae9131-3de6-11e0-891a-d4865a8b0383 00117 unsigned long NumDirDOFs; 00118 00122 // attr=mm:77ef0871-3de7-11e0-891a-d4865a8b0383 00123 char DirDOFNames[MAX_NUMBER_DIRS_DOFS][10]; 00124 00128 // attr=mm:bf1bc367-3dcc-11e0-891a-d4865a8b0383 00129 char SymbNumFlag[MAX_NUMBER_DIRS_DOFS]; 00130 00134 // attr=mm:c6095ab1-02d2-11e0-89cb-b0660132333d 00135 double NumValue[MAX_NUMBER_DIRS_DOFS]; 00136 00140 // attr=mm:f5bc200d-3e92-11e0-804a-84bd3f43cb42 00141 unsigned long Card[MAX_NUMBER_DIRS_DOFS]; 00142 00146 // attr=mm:c73a7771-02d2-11e0-89cb-b0660132333d 00147 char SymbExpression[MAX_NUMBER_DIRS_DOFS][MAX_SYMB_EXPR_SIZE]; 00148 00149 00150 protected: 00151 00152 private: 00153 00154 //#UBLK-BEG-CLASSMEMB mm:aa9e4063-02d2-11e0-89cb-b0660132333d 00155 //#UBLK-END-CLASSMEMB 00156 }; 00157 00158 //#UBLK-BEG-GLOBALH 00159 //#UBLK-END-GLOBALH 00160 00161 00162 #endif // _LOADINTENSITY_H_