hp2FEM  0.1
include/loadsets/LoadSets.h
00001 #ifndef _LOADSETS_H_
00002 #define _LOADSETS_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:24
00007 // file      : LoadSets.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     : 17 Jun 2011
00019 //--------------------------------------------------------------
00020 // Change history : 
00021 //   17 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 <cstdio>
00047 #include "ds/Array.h"
00048 #include "model/DOFs.h"
00049 #include "loadsets/LoadSet.h"
00050 
00051 
00059 class LoadSets
00060 {
00061 //#UBLK-BEG-CLASSDEF mm:c9e8c419-f8aa-11df-81a2-dbfec3d2969c
00062 //#UBLK-END-CLASSDEF
00063 
00064  public:
00065 
00066    // METHOD=mm:915973c8-3eab-11e0-868c-c6c3e3327f54
00067    unsigned long GetNumberLoadSets();
00068 
00069    // METHOD=mm:b89fbc7e-f8aa-11df-81a2-dbfec3d2969c
00070    LoadSets();
00071 
00072    // METHOD=mm:26ad9d85-02fd-11e0-843e-b9717acb62a7
00073    LoadSets(LoadSets& Instance);
00074 
00075    // METHOD=mm:27461a15-02fd-11e0-843e-b9717acb62a7
00076    ~LoadSets();
00077 
00078    // METHOD=mm:6f321b85-9acd-4e4d-9ce7-557d092a8332
00079    void Free();
00080 
00081    // METHOD=mm:ac2be7f7-3eab-11e0-868c-c6c3e3327f54
00082    LoadSets& operator=(LoadSets& Instance);
00083 
00084    // METHOD=mm:9da9240f-5fb3-11e0-8630-e983f1b14c63
00085    LoadSet& operator[](unsigned long LoadSetNumber);
00086 
00087    // METHOD=mm:b89fbc80-f8aa-11df-81a2-dbfec3d2969c
00088    void Print(FILE* File, char* Message = "");
00089 
00090    // METHOD=mm:b89fbc7f-f8aa-11df-81a2-dbfec3d2969c
00091    void Read(FILE* DEFFile, DOFs& DofNames);
00092 
00093 
00094    // asse=mm:daac6cf2-4c35-4d11-a519-d790efb0ee48
00095    LoadSet * theLoadSet;
00096 
00097 
00098  protected:
00099 
00103    // attr=mm:6a02b761-3eab-11e0-868c-c6c3e3327f54
00104    Array<LoadSet> LS;
00105 
00109    // attr=mm:b89fbc7d-f8aa-11df-81a2-dbfec3d2969c
00110    unsigned long NumLS;
00111 
00112 
00113  private:
00114 
00115 //#UBLK-BEG-CLASSMEMB mm:c9e8c419-f8aa-11df-81a2-dbfec3d2969c
00116 //#UBLK-END-CLASSMEMB
00117 };
00118 
00119 //#UBLK-BEG-GLOBALH
00120 //#UBLK-END-GLOBALH
00121 
00122 
00123 #endif // _LOADSETS_H_
 All Classes Files Functions Variables Typedefs Friends Defines