XC Open source finite element analysis program
xc_python_utils.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio PĂ©rez Tato
6 //
7 // XC is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program.
20 // If not, see <http://www.gnu.org/licenses/>.
21 //----------------------------------------------------------------------------
22 //xc_python_utils.h
23 
24 #ifndef XC_PYTHON_UTILS_H
25 #define XC_PYTHON_UTILS_H
26 
27 #include <boost/python/list.hpp>
28 #include <vector>
29 #include "xc_basic/src/matrices/m_double.h"
30 
31 namespace XC {
32  class ID;
33 
34 boost::python::list xc_id_to_py_list(const XC::ID &);
35 
36 std::vector<double> vector_double_from_py_object(const boost::python::object &);
37 std::vector<int> vector_int_from_py_object(const boost::python::object &);
38 m_double m_double_from_py_object(const boost::python::object &);
39 
40 } // end of XC namespace
41 #endif
Definition: ID.h:77
================================================================================
Definition: ContinuaReprComponent.h:34