/[ff3d]/ff3d/language/RealExpression.cpp
ViewVC logotype

Diff of /ff3d/language/RealExpression.cpp

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

revision 1.5 by delpinux, Wed Oct 22 17:08:29 2003 UTC revision 1.6 by delpinux, Fri Oct 31 17:15:28 2003 UTC
# Line 29  Line 29 
29    
30  #include <Structured3DMesh.hpp>  #include <Structured3DMesh.hpp>
31  #include <MeshOfHexahedra.hpp>  #include <MeshOfHexahedra.hpp>
32    #include <SurfaceMeshOfTriangles.hpp>
33    #include <SurfaceMeshOfQuadrangles.hpp>
34    
35  #include <Information.hpp>  #include <Information.hpp>
36    
# Line 181  void RealExpressionIntegrate::execute() Line 183  void RealExpressionIntegrate::execute()
183    
184    switch (M.type()) {    switch (M.type()) {
185    case Mesh::cartesianHexahedraMesh: {    case Mesh::cartesianHexahedraMesh: {
186      const Structured3DMesh& m      const Structured3DMesh& m = static_cast<const Structured3DMesh&>(M);
       = static_cast<const Structured3DMesh&>(M);  
187      integral = __integrate(m,f);      integral = __integrate(m,f);
188      break;      break;
189    }    }
190    case Mesh::hexahedraMesh: {    case Mesh::hexahedraMesh: {
191      const MeshOfHexahedra& m      const MeshOfHexahedra& m = static_cast<const MeshOfHexahedra&>(M);
192        = static_cast<const MeshOfHexahedra&>(M);      integral = __integrate(m,f);
193        break;
194      }
195      case Mesh::surfaceMeshTriangles: {
196        const SurfaceMeshOfTriangles& m = static_cast<const SurfaceMeshOfTriangles&>(M);
197        integral = __integrate(m,f);
198        break;
199      }
200      case Mesh::surfaceMeshQuadrangles: {
201        const SurfaceMeshOfQuadrangles& m = static_cast<const SurfaceMeshOfQuadrangles&>(M);
202      integral = __integrate(m,f);      integral = __integrate(m,f);
203      break;      break;
204    }    }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26