hp2FEM  0.1
include/boundaryconditions/BoundaryConditions.h
00001 #ifndef _BOUNDARYCONDITIONS_H_
00002 #define _BOUNDARYCONDITIONS_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:21
00007 // file      : BoundaryConditions.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     : 30 Jun 2011
00019 //--------------------------------------------------------------
00020 // Change history : 
00021 //   30 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 "enumerations/Entity_E.h"
00048 #include "boundaryconditions/DirichletBC.h"
00049 #include "model/DOFs.h"
00050 
00051 
00061 class BoundaryConditions
00062 {
00063 //#UBLK-BEG-CLASSDEF mm:2e1b8093-f964-11df-95ab-e492b5386a89
00064 //#UBLK-END-CLASSDEF
00065 
00066  public:
00067 
00068    // METHOD=mm:2e1b813c-f964-11df-95ab-e492b5386a89
00069    BoundaryConditions();
00070 
00071    // METHOD=mm:72644a01-f977-11df-8309-d7f93716487b
00072    BoundaryConditions(BoundaryConditions& Instance);
00073 
00074    // METHOD=mm:78a8eedf-f97c-11df-8309-d7f93716487b
00075    ~BoundaryConditions();
00076 
00077    // METHOD=mm:9c6d5ffa-5a3e-11e0-8ae7-a0e7caa9ceb2
00078    BoundaryConditions& operator=(BoundaryConditions& Instance);
00079 
00080    // METHOD=mm:2e1b826a-f964-11df-95ab-e492b5386a89
00081    unsigned long GetNumberDBCNodes(DBC_E DBCFlag);
00082 
00083    // METHOD=mm:937d9552-5a40-11e0-8ae7-a0e7caa9ceb2
00084    unsigned long GetNumberDBCEdges(DBC_E DBCFlag);
00085 
00086    // METHOD=mm:d2abf93a-5a40-11e0-8ae7-a0e7caa9ceb2
00087    unsigned long GetNumberDBCFaces(DBC_E DBCFlag);
00088 
00089    // METHOD=mm:3b46910e-5a40-11e0-8ae7-a0e7caa9ceb2
00090    unsigned long GetNumberDBCKeypoints(DBC_E DBCFlag);
00091 
00092    // METHOD=mm:b740d698-5a40-11e0-8ae7-a0e7caa9ceb2
00093    unsigned long GetNumberDBCLines(DBC_E DBCFlag);
00094 
00095    // METHOD=mm:ebb4a33c-5a40-11e0-8ae7-a0e7caa9ceb2
00096    unsigned long GetNumberDBCSurfaces(DBC_E DBCFlag);
00097 
00098    // METHOD=mm:2e1b830b-f964-11df-95ab-e492b5386a89
00099    unsigned long GetNumberDBC(Entity_E Entity, DBC_E DBCFlag);
00100 
00101    // METHOD=mm:2e1b83a8-f964-11df-95ab-e492b5386a89
00102    unsigned long GetTotalNumberDBCs(DBC_E DBCFlag);
00103 
00104    // METHOD=mm:2e1b830e-f964-11df-95ab-e492b5386a89
00105    Array<LoadIntensity>& GetDBCNodes(DBC_E DBCFlag);
00106 
00107    // METHOD=mm:15baa19e-5a42-11e0-8ae7-a0e7caa9ceb2
00108    Array<LoadIntensity>& GetDBCEdges(DBC_E DBCFlag);
00109 
00110    // METHOD=mm:3125943e-5a42-11e0-8ae7-a0e7caa9ceb2
00111    Array<LoadIntensity>& GetDBCFaces(DBC_E DBCFlag);
00112 
00113    // METHOD=mm:4ac6d18c-5a42-11e0-8ae7-a0e7caa9ceb2
00114    Array<LoadIntensity>& GetDBCKeypoints(DBC_E DBCFlag);
00115 
00116    // METHOD=mm:7649bf40-5a42-11e0-8ae7-a0e7caa9ceb2
00117    Array<LoadIntensity>& GetDBCLines(DBC_E DBCFlag);
00118 
00119    // METHOD=mm:89f53be6-5a42-11e0-8ae7-a0e7caa9ceb2
00120    Array<LoadIntensity>& GetDBCSurfaces(DBC_E DBCFlag);
00121 
00122    // METHOD=mm:2e1b83a5-f964-11df-95ab-e492b5386a89
00123    Array<LoadIntensity>& GetDBC(Entity_E Entity, DBC_E DBCFlag);
00124 
00125    // METHOD=mm:1570ca9d-5a47-11e0-8ae7-a0e7caa9ceb2
00126    DirichletBC& GetDBCs(DBC_E DBCFlag);
00127 
00128    // METHOD=mm:2e1b81cb-f964-11df-95ab-e492b5386a89
00129    void Read(FILE* DEFFile, DOFs& DOFsAttributes);
00130 
00131    // METHOD=mm:2e1b81ce-f964-11df-95ab-e492b5386a89
00132    void Print(FILE* File, char* Message = "");
00133 
00134 
00135    // asse=mm:e56acecb-da3c-4f40-bb0c-150f00ac7793
00136    DirichletBC * theDirichletBC;
00137 
00138 
00139  protected:
00140 
00147    // attr=mm:2e1b8138-f964-11df-95ab-e492b5386a89
00148    DirichletBC HOMDBC;
00149 
00153    // attr=mm:2e1b8139-f964-11df-95ab-e492b5386a89
00154    DirichletBC NOHOMDBC;
00155 
00156 
00157  private:
00158 
00159 //#UBLK-BEG-CLASSMEMB mm:2e1b8093-f964-11df-95ab-e492b5386a89
00160 //#UBLK-END-CLASSMEMB
00161 };
00162 
00163 //#UBLK-BEG-GLOBALH
00164 //*** Removed methods: 08 Jul 2011 15:50
00165 //---
00166 //uuid=mm:2e1b81c8-f964-11df-95ab-e492b5386a89
00167 //   BoundaryConditions(unsigned long NumberHDBCs, unsigned short NumberNHDBCs);
00168 
00169 //#UBLK-END-GLOBALH
00170 
00171 
00172 #endif // _BOUNDARYCONDITIONS_H_
 All Classes Files Functions Variables Typedefs Friends Defines