/[escript]/branches/dirac/finley/src/CPPAdapter/finleycpp.cpp
ViewVC logotype

Diff of /branches/dirac/finley/src/CPPAdapter/finleycpp.cpp

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

revision 1800 by ksteube, Thu Sep 18 05:28:20 2008 UTC revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2008 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #ifdef PASO_MPI  #ifdef PASO_MPI
16  #include <mpi.h>  #include <mpi.h>
# Line 92  BOOST_PYTHON_MODULE(finleycpp) Line 91  BOOST_PYTHON_MODULE(finleycpp)
91    def("ReadMesh",finley::readMesh,    def("ReadMesh",finley::readMesh,
92        (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),        (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),
93        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
   def("ReadMeshMPI",finley::readMeshMPI,  
       (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),  
       return_value_policy<manage_new_object>());  
94    
95    def("ReadGmsh",finley::readGmsh,    def("ReadGmsh",finley::readGmsh,
96        (arg("fileName")="file.msh",arg("numDim"), arg("integrationOrder")=-1, arg("reducedIntegrationOrder")=-1, arg("optimize")=true),        (arg("fileName")="file.msh",arg("numDim"), arg("integrationOrder")=-1, arg("reducedIntegrationOrder")=-1, arg("optimize")=true),
# Line 166  BOOST_PYTHON_MODULE(finleycpp) Line 162  BOOST_PYTHON_MODULE(finleycpp)
162        .def("isValidTagName",&finley::MeshAdapter::isValidTagName)        .def("isValidTagName",&finley::MeshAdapter::isValidTagName)
163        .def("showTagNames",&finley::MeshAdapter::showTagNames)        .def("showTagNames",&finley::MeshAdapter::showTagNames)
164        .def("getMPISize",&finley::MeshAdapter::getMPISize)        .def("getMPISize",&finley::MeshAdapter::getMPISize)
165        .def("getMPIRank",&finley::MeshAdapter::getMPIRank)        .def("getMPIRank",&finley::MeshAdapter::getMPIRank);
       .def("getMPIComm",&finley::MeshAdapter::getMPIComm);  
166    
167    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >
168        ("OperatorAdapter",no_init)        ("OperatorAdapter",no_init)

Legend:
Removed from v.1800  
changed lines
  Added in v.1811

  ViewVC Help
Powered by ViewVC 1.1.26