/[escript]/branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1058 by gross, Mon Mar 19 07:29:31 2007 UTC revision 1059 by gross, Fri Mar 23 11:01:53 2007 UTC
# Line 33  const int MeshAdapter::DegreesOfFreedom= Line 33  const int MeshAdapter::DegreesOfFreedom=
33  const int MeshAdapter::ReducedDegreesOfFreedom=FINLEY_REDUCED_DEGREES_OF_FREEDOM;  const int MeshAdapter::ReducedDegreesOfFreedom=FINLEY_REDUCED_DEGREES_OF_FREEDOM;
34  const int MeshAdapter::Nodes=FINLEY_NODES;  const int MeshAdapter::Nodes=FINLEY_NODES;
35  const int MeshAdapter::Elements=FINLEY_ELEMENTS;  const int MeshAdapter::Elements=FINLEY_ELEMENTS;
36    const int MeshAdapter::ReducedElements=FINLEY_REDUCED_ELEMENTS;
37  const int MeshAdapter::FaceElements=FINLEY_FACE_ELEMENTS;  const int MeshAdapter::FaceElements=FINLEY_FACE_ELEMENTS;
38    const int MeshAdapter::ReducedFaceElements=FINLEY_REDUCED_FACE_ELEMENTS;
39  const int MeshAdapter::Points=FINLEY_POINTS;  const int MeshAdapter::Points=FINLEY_POINTS;
40  const int MeshAdapter::ContactElementsZero=FINLEY_CONTACT_ELEMENTS_1;  const int MeshAdapter::ContactElementsZero=FINLEY_CONTACT_ELEMENTS_1;
41    const int MeshAdapter::ReducedContactElementsZero=FINLEY_REDUCED_CONTACT_ELEMENTS_1;
42  const int MeshAdapter::ContactElementsOne=FINLEY_CONTACT_ELEMENTS_2;  const int MeshAdapter::ContactElementsOne=FINLEY_CONTACT_ELEMENTS_2;
43    const int MeshAdapter::ReducedContactElementsOne=FINLEY_REDUCED_CONTACT_ELEMENTS_2;
44    
45  MeshAdapter::MeshAdapter(Finley_Mesh* finleyMesh)  MeshAdapter::MeshAdapter(Finley_Mesh* finleyMesh)
46  {  {
# Line 114  void MeshAdapter::setFunctionSpaceTypeNa Line 118  void MeshAdapter::setFunctionSpaceTypeNa
118    m_functionSpaceTypeNames.insert    m_functionSpaceTypeNames.insert
119      (FunctionSpaceNamesMapType::value_type(Elements,"Finley_Elements"));      (FunctionSpaceNamesMapType::value_type(Elements,"Finley_Elements"));
120    m_functionSpaceTypeNames.insert    m_functionSpaceTypeNames.insert
121        (FunctionSpaceNamesMapType::value_type(ReducedElements,"Finley_Reduced_Elements"));
122      m_functionSpaceTypeNames.insert
123      (FunctionSpaceNamesMapType::value_type(FaceElements,"Finley_Face_Elements"));      (FunctionSpaceNamesMapType::value_type(FaceElements,"Finley_Face_Elements"));
124    m_functionSpaceTypeNames.insert    m_functionSpaceTypeNames.insert
125        (FunctionSpaceNamesMapType::value_type(ReducedFaceElements,"Finley_Reduced_Face_Elements"));
126      m_functionSpaceTypeNames.insert
127      (FunctionSpaceNamesMapType::value_type(Points,"Finley_Points"));      (FunctionSpaceNamesMapType::value_type(Points,"Finley_Points"));
128    m_functionSpaceTypeNames.insert    m_functionSpaceTypeNames.insert
129      (FunctionSpaceNamesMapType::value_type(ContactElementsZero,"Finley_Contact_Elements_0"));      (FunctionSpaceNamesMapType::value_type(ContactElementsZero,"Finley_Contact_Elements_0"));
130    m_functionSpaceTypeNames.insert    m_functionSpaceTypeNames.insert
131        (FunctionSpaceNamesMapType::value_type(ReducedContactElementsZero,"Finley_Reduced_Contact_Elements_0"));
132      m_functionSpaceTypeNames.insert
133      (FunctionSpaceNamesMapType::value_type(ContactElementsOne,"Finley_Contact_Elements_1"));      (FunctionSpaceNamesMapType::value_type(ContactElementsOne,"Finley_Contact_Elements_1"));
134      m_functionSpaceTypeNames.insert
135        (FunctionSpaceNamesMapType::value_type(ReducedContactElementsOne,"Finley_Reduced_Contact_Elements_1"));
136  }  }
137    
138  int MeshAdapter::getContinuousFunctionCode() const  int MeshAdapter::getContinuousFunctionCode() const
# Line 132  int MeshAdapter::getFunctionCode() const Line 144  int MeshAdapter::getFunctionCode() const
144  {  {
145    return Elements;    return Elements;
146  }  }
147    int MeshAdapter::getReducedFunctionCode() const
148    {
149      return ReducedElements;
150    }
151    
152  int MeshAdapter::getFunctionOnBoundaryCode() const  int MeshAdapter::getFunctionOnBoundaryCode() const
153  {  {
154    return FaceElements;    return FaceElements;
155  }  }
156    int MeshAdapter::getReducedFunctionOnBoundaryCode() const
157    {
158      return ReducedFaceElements;
159    }
160    
161  int MeshAdapter::getFunctionOnContactZeroCode() const  int MeshAdapter::getFunctionOnContactZeroCode() const
162  {  {
163    return ContactElementsZero;    return ContactElementsZero;
164  }  }
165    int MeshAdapter::getReducedFunctionOnContactZeroCode() const
166    {
167      return ReducedContactElementsZero;
168    }
169    
170  int MeshAdapter::getFunctionOnContactOneCode() const  int MeshAdapter::getFunctionOnContactOneCode() const
171  {  {
172    return ContactElementsOne;    return ContactElementsOne;
173  }  }
174    int MeshAdapter::getReducedFunctionOnContactOneCode() const
175    {
176      return ReducedContactElementsOne;
177    }
178    
179  int MeshAdapter::getSolutionCode() const  int MeshAdapter::getSolutionCode() const
180  {  {

Legend:
Removed from v.1058  
changed lines
  Added in v.1059

  ViewVC Help
Powered by ViewVC 1.1.26