COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Typedefs | Functions | Variables
cf3::python Namespace Reference

Basic Classes for Python wrapper classes used by CF. More...

Classes

struct  AnyListToPython
 Conversion for lists. More...
 
struct  AnyToPython
 Conversion from any to python for basic types. More...
 
struct  ChildListWrapper
 
class  ComponentWrapper
 Wrapper class for components. More...
 
struct  CoreWrapper
 
class  LibPython
 
struct  List
 Tables can be used as python lists. More...
 
struct  ListMethods
 Extra methods for Table. More...
 
struct  Math
 
class  matrix_array_mapper
 
class  NetworkXPython
 
struct  null_deleter
 
struct  OptionListWrapper
 
struct  PropertyListWrapper
 
struct  PythonListInterface
 
struct  PythonListToAny
 Conversion for lists. More...
 
struct  PythonToAny
 Conversion for basic types. More...
 
class  ScriptEngine
 Manage a python interpreter. More...
 
struct  SignalWrapper
 
struct  TableList
 Tables can be used as python lists. More...
 
struct  TableMethods
 Extra methods for Table. More...
 
struct  TableRowWrapper
 Functions exposed to python dealing with table rows. More...
 
class  TestAllOptions
 Creates an option for each type, to enable testing of python option handling. More...
 
class  TestSignals
 Exposes certain signals for testing purposes. More...
 

Typedefs

typedef boost::mpl::vector7< std::string, int, bool, Real, common::URI, common::UUCount, Handle< common::Component > > PythonToAnyTypes
 
typedef boost::mpl::vector9< std::string, Uint, int, bool, Real, common::URI, common::UUCount, Handle< common::Component >, Handle< common::Component const > > AnyToPythonTypes
 

Functions

boost::python::object wrap_component (const cf3::Handle< common::Component > &component)
 Wrap the passed component in a python object. More...
 
void component_setattr (boost::python::object &self, const std::string attr, const boost::python::object &value)
 Override setattr to allow direct handling of basic options. More...
 
boost::python::object component_getattr (ComponentWrapper &self, const std::string &attr)
 Override for getattr to get basic options and sub-components. More...
 
boost::python::object component_dir (ComponentWrapper &self)
 Report our custom attributes in dir More...
 
std::string name (ComponentWrapper &self)
 
boost::python::object create_component (ComponentWrapper &self, const std::string &name, const std::string &builder_name)
 
boost::python::object get_child (ComponentWrapper &self, const std::string &name)
 
boost::python::object access_component_uri (ComponentWrapper &self, const common::URI &uri)
 
boost::python::object access_component_str (ComponentWrapper &self, const std::string &uri)
 
common::URI uri (ComponentWrapper &self)
 
std::string derived_type_name (ComponentWrapper &self)
 
void print_timing_tree (ComponentWrapper &self)
 
void store_timings (ComponentWrapper &self)
 
void configure_option_recursively (ComponentWrapper &self, const std::string &option_name, const boost::python::object &value)
 
Uint get_len (ComponentWrapper &self)
 
boost::python::object get_item (ComponentWrapper &self, const Uint i)
 
void set_item (ComponentWrapper &self, const Uint i, boost::python::object &value)
 
std::string to_str (ComponentWrapper &self)
 
bool is_equal (ComponentWrapper &self, ComponentWrapper &other)
 
bool is_not_equal (ComponentWrapper &self, ComponentWrapper &other)
 
boost::python::object component_mark_basic (ComponentWrapper &self)
 
OptionListWrapper component_options (ComponentWrapper &self)
 
PropertyListWrapper component_properties (ComponentWrapper &self)
 
ChildListWrapper component_children (ComponentWrapper &self)
 
boost::python::str uucount_str (const common::UUCount *self)
 
boost::python::list uucount_uuid (const common::UUCount *self)
 
Uint uucount_count (const common::UUCount *self)
 
void def_component ()
 Python wrapping for the Component class. More...
 
void def_core ()
 Python wrapping for the Core class. More...
 
template<typename ValueT >
void add_clist_methods (ComponentWrapper &wrapped, boost::python::api::object &py_obj)
 Python wrapping for the List class. More...
 
template<typename ValueT >
void def_clist_types ()
 
void def_math ()
 Python wrapping for the mathemathical functions. More...
 
void failed_assertion_translate (const common::FailedAssertion &e)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_static_default ()
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealvector_init_size_default (const Uint size)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_size_default (const Uint rownum, const Uint colnum)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_static_value (const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealvector_init_size_value (const Uint size, const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_size_value (const Uint rownum, const Uint colnum, const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXrealmatrix_init_copy_dyn (const TMATRIX &other)
 
template<int rows, int cols, int rows_other, int cols_other>
boost::shared_ptr< TMATRIXrealmatrix_init_copy_static (const TOTHERMATRIX &other)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_copy_static_dyn (const TDYNMATRIX &other)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealvector_init_copy_static_dyn (const TDYNMATRIX &other)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealvector_init_tab (const list tab)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealvector_init_static_tab (const list tab)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_tab (const list tab)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXrealmatrix_init_static_tab (const list tab)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_scalar_mul (boost::shared_ptr< TMATRIX > self, const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_scalar_imul (boost::shared_ptr< TMATRIX > self, const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_scalar_div (boost::shared_ptr< TMATRIX > self, const Real value)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_scalar_idiv (boost::shared_ptr< TMATRIX > self, const Real value)
 
template<int rows, int cols, int rows_other, int cols_other, int rows_return, int cols_return>
boost::shared_ptr< TRETURNMATRIXmatrix_by_matrix_left (boost::shared_ptr< TMATRIX > self, const TOTHERMATRIX &other)
 
template<int rows, int cols, int rows_other, int cols_other, int rows_return, int cols_return>
boost::shared_ptr< TRETURNMATRIXmatrix_by_matrix_right (boost::shared_ptr< TMATRIX > self, const TOTHERMATRIX &other)
 
template<int rows, int cols, int rows_other, int cols_other>
boost::shared_ptr< TDYNMATRIXmatrix_by_matrix_dyn (boost::shared_ptr< TMATRIX > self, const TOTHERMATRIX &other)
 
template<int rows, int cols>
Real vector_get_item (boost::shared_ptr< TMATRIX > self, const Uint i)
 
template<int rows, int cols>
void vector_set_item (boost::shared_ptr< TMATRIX > self, const Uint i, const Real value)
 
template<int rows, int cols>
Uint vector_size (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
std::string vector_str (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TDYNVECTORvector_head (boost::shared_ptr< TVECTOR > self, Uint size)
 
template<int rows, int cols>
boost::shared_ptr< TDYNVECTORvector_tail (boost::shared_ptr< TVECTOR > self, Uint size)
 
template<int rows, int cols>
boost::shared_ptr< TDYNVECTORvector_segment (boost::shared_ptr< TVECTOR > self, Uint ind, Uint size)
 
template<int rows, int cols>
void vector_resize (boost::shared_ptr< TMATRIX > self, const Uint size)
 
template<int rows, int cols>
Real vector_dot (boost::shared_ptr< TMATRIX > self, const TMATRIX &other)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXvector_cross (boost::shared_ptr< TMATRIX > self, const TMATRIX &other)
 
template<int rows, int cols>
void matrix_resize (boost::shared_ptr< TMATRIX > self, const Uint rownum, const Uint colnum)
 
template<int rows, int cols>
Real vector_norm (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real vector_squared_norm (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXvector_normalized (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void vector_normalize (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TSQUAREMATRIXvector_as_diagonal (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols, int rows_other, int cols_other>
void matrix_resize_like (boost::shared_ptr< TMATRIX > self, const TOTHERMATRIX &other)
 
template<int rows, int cols>
void vector_conservative_resize (boost::shared_ptr< TMATRIX > self, const Uint size)
 
template<int rows, int cols>
void matrix_conservative_resize (boost::shared_ptr< TMATRIX > self, const Uint rownum, const Uint colnum)
 
template<int rows, int cols>
Real matrix_get_item (boost::shared_ptr< TMATRIX > self, const tuple &t)
 
template<int rows, int cols>
void matrix_set_item (boost::shared_ptr< TMATRIX > self, const tuple &t, const Real value)
 
template<int rows, int cols>
Uint matrix_size (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
std::string matrix_str (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_rows (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_cols (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_inner_size (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_outer_size (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_inner_stride (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Uint matrix_outer_stride (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_get_row (boost::shared_ptr< TMATRIX > self, Uint row)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_get_col (boost::shared_ptr< TMATRIX > self, Uint col)
 
template<int rows, int cols>
boost::shared_ptr< TVECTORmatrix_get_row_vector (boost::shared_ptr< TMATRIX > self, Uint row)
 
template<int rows, int cols>
boost::shared_ptr< TVECTORmatrix_get_col_vector (boost::shared_ptr< TMATRIX > self, Uint col)
 
template<int rows, int cols>
void matrix_set_row (boost::shared_ptr< TMATRIX > self, Uint row, const TDYNMATRIX &value)
 
template<int rows, int cols>
void matrix_set_col (boost::shared_ptr< TMATRIX > self, Uint col, const TDYNMATRIX &value)
 
template<int rows, int cols>
void matrix_set_row_vector (boost::shared_ptr< TMATRIX > self, Uint row, const TVECTOR &value)
 
template<int rows, int cols>
void matrix_set_col_vector (boost::shared_ptr< TMATRIX > self, Uint col, const TVECTOR &value)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_block (boost::shared_ptr< TMATRIX > self, Uint col, Uint row, Uint colnum, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_top_left_corner (boost::shared_ptr< TMATRIX > self, Uint colnum, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_top_right_corner (boost::shared_ptr< TMATRIX > self, Uint colnum, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_bottom_left_corner (boost::shared_ptr< TMATRIX > self, Uint colnum, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_bottom_right_corner (boost::shared_ptr< TMATRIX > self, Uint colnum, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_top_rows (boost::shared_ptr< TMATRIX > self, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_bottom_rows (boost::shared_ptr< TMATRIX > self, Uint rownum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_left_cols (boost::shared_ptr< TMATRIX > self, Uint colnum)
 
template<int rows, int cols>
boost::shared_ptr< TDYNMATRIXmatrix_right_cols (boost::shared_ptr< TMATRIX > self, Uint colnum)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_adjoint (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_transpose (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_iadjoint (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_itranspose (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_inverse (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_max (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_mean (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_min (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_norm (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_squared_norm (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TMATRIXmatrix_normalized (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void matrix_normalize (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void matrix_identity_static (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void matrix_identity_dynamic (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TDYNVECTORmatrix_get_diagonal_ind (boost::shared_ptr< TMATRIX > self, const int n)
 
template<int rows, int cols>
boost::shared_ptr< TVECTORmatrix_get_diagonal_default (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols, int rows_other, int cols_other>
void matrix_set_diagonal_ind (boost::shared_ptr< TMATRIX > self, const int n, const TOTHERMATRIX &other)
 
template<int rows, int cols, int rows_other, int cols_other>
void matrix_set_diagonal_default (boost::shared_ptr< TMATRIX > self, const TOTHERMATRIX &other)
 
template<int rows, int cols>
Real matrix_determinant (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
boost::shared_ptr< TVECTORmatrix_eigenvalues (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
Real matrix_trace (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void matrix_diagonal (boost::shared_ptr< TMATRIX > self, const Real value)
 
template<int rows, int cols>
bool matrix_is_constant (boost::shared_ptr< TMATRIX > self, const Real value, const Real prec)
 
template<int rows, int cols>
bool matrix_is_diagonal (boost::shared_ptr< TMATRIX > self, const Real prec)
 
template<int rows, int cols>
bool matrix_is_identity (boost::shared_ptr< TMATRIX > self, const Real prec)
 
template<int rows, int cols>
bool matrix_is_approx (boost::shared_ptr< TMATRIX > self, boost::shared_ptr< TMATRIX > other, const Real prec)
 
template<int rows, int cols>
bool matrix_is_equal (boost::shared_ptr< TMATRIX > self, boost::shared_ptr< TMATRIX > other)
 
template<int rows, int cols>
bool matrix_is_zero (boost::shared_ptr< TMATRIX > self, const Real prec)
 
template<int rows, int cols>
boost::shared_ptr< matrix_array_mapper< rows, cols > > matrix_array_get (boost::shared_ptr< TMATRIX > self)
 
template<int rows, int cols>
void matrix_array_set (boost::shared_ptr< TMATRIX > self, boost::shared_ptr< matrix_array_mapper< rows, cols > > other)
 
template<int rows, int cols>
void def_common_vector (class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *matrix_class)
 these definitions are only applied on a vector More...
 
template<int rows, int cols>
void def_common_static (class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *matrix_class)
 these definitions are only applied on a static matrixs and static vectors More...
 
template<int rows, int cols>
void def_common_dynamic (class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *matrix_class)
 these definitions are only applied on dynamic matrixs and dynamic vectors More...
 
template<int rows, int cols>
void def_common_pure_matrix (class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *matrix_class)
 these definitions are only applied on a matrix More...
 
template<int rows, int cols>
void def_common_matrix (class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *matrix_class)
 these definitions are applied to all types More...
 
template<int rows, int cols>
void def_static_vector (const char *name, const char *doc)
 wrap the Eigen::Matrix<n,1> More...
 
template<int rows, int cols>
void def_static_vector1 (const char *name, const char *doc)
 wrap the Eigen::Matrix<1,1> (they don't implement dot and cross operator) More...
 
template<int rows, int cols>
void def_dynamic_vector (const char *name, const char *doc)
 wrap the Eigen::Matrix<Eigen::Dynamic,1> More...
 
template<int rows, int cols>
void def_static_matrix (const char *name, const char *doc)
 wrap the Eigen::Matrix<n,n> More...
 
template<int rows, int cols>
void def_dynamic_matrix (const char *name, const char *doc)
 wrap the Eigen::Matrix<Eigen::Dynamic,Eigen::Dynamic> More...
 
void def_matrix_types ()
 Define all matrix/vector types. More...
 
std::string python_list_element_type (const boost::python::list &pylist)
 
boost::python::api::object any_to_python (const boost::any &value)
 Convert the given any to a python object. More...
 
boost::any python_to_any (const boost::python::api::object &value)
 
std::string type_name (const boost::python::api::object &python_object)
 
boost::any python_to_any (const boost::python::object &value)
 Convert the given python object to any. More...
 
std::string type_name (const boost::python::object &python_object)
 Return the coolfluid type string for the given python type. More...
 
 BOOST_PYTHON_MODULE (libcoolfluid_python)
 
int python_trace (PyObject *obj, PyFrameObject *frame, int what, PyObject *arg)
 python tracing function, used to More...
 
void python_execute_function ()
 Threaded c function, used to contain the PyEval_CodeEval. More...
 
template<typename ValueT >
void add_ctable_methods (ComponentWrapper &wrapped, boost::python::api::object &py_obj)
 Python wrapping for the Table class. More...
 
template<typename ValueT >
void def_ctable_types ()
 
common::URI uri_combine_use_uri (const common::URI &uri1, const common::URI &uri2)
 
common::URI uri_combine_use_str (const common::URI &uri1, const std::string &uri2)
 
void def_uri ()
 Python wrapping for the URI class. More...
 
void generic_setattr (boost::python::object const &target, char const *key, boost::python::object const &value)
 
boost::python::object weak_ref (const boost::python::object &source)
 Helper function to get a weak reference to the given object. More...
 
template<typename FunctionT >
void add_function (boost::python::object &object, FunctionT function, const std::string &name, const std::string &docstring="")
 

Variables

cf3::common::RegistLibrary< LibPythonlibPython
 
common::ComponentBuilder< NetworkXPython, Component, LibPythonNetworkXPython_Builder
 
ComponentBuilder< ScriptEngine, Component, LibPythonScriptEngine_Builder
 
ScriptEnginescript_engine =NULL
 
boost::python::handle global_scope
 
boost::python::handle local_scope
 
std::queue< std::pair< boost::python::handle<>, int > > python_code_queue
 
boost::mutex * python_code_queue_mutex
 
boost::condition_variable * python_code_queue_condition
 
boost::mutex * python_break_mutex
 
boost::mutex * python_scope_mutex
 
boost::condition_variable * python_break_condition
 
boost::thread * python_thread
 
boost::thread * python_stream_statement_thread
 
int current_execution_fragment
 
bool python_should_wake_up
 
bool python_should_break
 
bool python_should_run
 
common::ComponentBuilder< TestAllOptions, Component, LibPythonTestAllOptions_Builder
 
common::ComponentBuilder< TestSignals, Component, LibPythonTestSignals_Builder
 

Detailed Description

Basic Classes for Python wrapper classes used by CF.

Typedef Documentation

typedef boost::mpl::vector9<std::string, Uint, int, bool, Real, common::URI, common::UUCount, Handle<common::Component>, Handle<common::Component const> > AnyToPythonTypes

Definition at line 29 of file PythonAny.cpp.

typedef boost::mpl::vector7<std::string, int, bool, Real, common::URI, common::UUCount, Handle<common::Component> > PythonToAnyTypes

Definition at line 28 of file PythonAny.cpp.

Function Documentation

boost::python::object cf3::python::access_component_str ( ComponentWrapper self,
const std::string &  uri 
)

Definition at line 366 of file ComponentWrapper.cpp.

boost::python::object cf3::python::access_component_uri ( ComponentWrapper self,
const common::URI uri 
)

Definition at line 361 of file ComponentWrapper.cpp.

void add_clist_methods ( ComponentWrapper wrapped,
boost::python::api::object &  py_obj 
)

Python wrapping for the List class.

Definition at line 81 of file ListWrapper.cpp.

void add_ctable_methods ( ComponentWrapper wrapped,
boost::python::api::object &  py_obj 
)

Python wrapping for the Table class.

Definition at line 137 of file TableWrapper.cpp.

void cf3::python::add_function ( boost::python::object &  object,
FunctionT  function,
const std::string &  name,
const std::string &  docstring = "" 
)

Add a function dynamically

Parameters
objectObject to add a function to
functionFunction to add (function pointer, ...)
nameName of the function in python
docstringPython documentation for the function

Definition at line 38 of file Utility.hpp.

boost::python::object any_to_python ( const boost::any &  value)

Convert the given any to a python object.

Definition at line 247 of file PythonAny.cpp.

cf3::python::BOOST_PYTHON_MODULE ( libcoolfluid_python  )

Definition at line 22 of file PythonModule.cpp.

ChildListWrapper cf3::python::component_children ( ComponentWrapper self)

Definition at line 681 of file ComponentWrapper.cpp.

boost::python::object cf3::python::component_dir ( ComponentWrapper self)

Report our custom attributes in dir

Definition at line 309 of file ComponentWrapper.cpp.

boost::python::object cf3::python::component_getattr ( ComponentWrapper self,
const std::string &  attr 
)

Override for getattr to get basic options and sub-components.

Definition at line 286 of file ComponentWrapper.cpp.

boost::python::object cf3::python::component_mark_basic ( ComponentWrapper self)

Definition at line 435 of file ComponentWrapper.cpp.

OptionListWrapper cf3::python::component_options ( ComponentWrapper self)

Definition at line 525 of file ComponentWrapper.cpp.

PropertyListWrapper cf3::python::component_properties ( ComponentWrapper self)

Definition at line 616 of file ComponentWrapper.cpp.

void cf3::python::component_setattr ( boost::python::object &  self,
const std::string  attr,
const boost::python::object &  value 
)

Override setattr to allow direct handling of basic options.

Definition at line 262 of file ComponentWrapper.cpp.

void cf3::python::configure_option_recursively ( ComponentWrapper self,
const std::string &  option_name,
const boost::python::object &  value 
)

Definition at line 391 of file ComponentWrapper.cpp.

boost::python::object cf3::python::create_component ( ComponentWrapper self,
const std::string &  name,
const std::string &  builder_name 
)

Definition at line 345 of file ComponentWrapper.cpp.

void def_clist_types ( )

Definition at line 103 of file ListWrapper.cpp.

void cf3::python::def_common_dynamic ( class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *  matrix_class)

these definitions are only applied on dynamic matrixs and dynamic vectors

Definition at line 968 of file MatrixWrappers.cpp.

void cf3::python::def_common_matrix ( class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *  matrix_class)

these definitions are applied to all types

Definition at line 1027 of file MatrixWrappers.cpp.

void cf3::python::def_common_pure_matrix ( class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *  matrix_class)

these definitions are only applied on a matrix

Definition at line 976 of file MatrixWrappers.cpp.

void cf3::python::def_common_static ( class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *  matrix_class)

these definitions are only applied on a static matrixs and static vectors

Definition at line 952 of file MatrixWrappers.cpp.

void cf3::python::def_common_vector ( class_< TMATRIX, boost::noncopyable, boost::shared_ptr< TMATRIX > > *  matrix_class)

these definitions are only applied on a vector

Definition at line 930 of file MatrixWrappers.cpp.

void def_component ( )

Python wrapping for the Component class.

Definition at line 707 of file ComponentWrapper.cpp.

void def_core ( )

Python wrapping for the Core class.

Definition at line 89 of file CoreWrapper.cpp.

void def_ctable_types ( )

Definition at line 160 of file TableWrapper.cpp.

void cf3::python::def_dynamic_matrix ( const char *  name,
const char *  doc 
)

wrap the Eigen::Matrix<Eigen::Dynamic,Eigen::Dynamic>

Definition at line 1178 of file MatrixWrappers.cpp.

void cf3::python::def_dynamic_vector ( const char *  name,
const char *  doc 
)

wrap the Eigen::Matrix<Eigen::Dynamic,1>

Definition at line 1126 of file MatrixWrappers.cpp.

void def_math ( )

Python wrapping for the mathemathical functions.

Definition at line 23 of file Math.cpp.

void def_matrix_types ( )

Define all matrix/vector types.

Python wrapping for the MatrixTypes class.

Definition at line 1212 of file MatrixWrappers.cpp.

void cf3::python::def_static_matrix ( const char *  name,
const char *  doc 
)

wrap the Eigen::Matrix<n,n>

Definition at line 1158 of file MatrixWrappers.cpp.

void cf3::python::def_static_vector ( const char *  name,
const char *  doc 
)

wrap the Eigen::Matrix<n,1>

Definition at line 1091 of file MatrixWrappers.cpp.

void cf3::python::def_static_vector1 ( const char *  name,
const char *  doc 
)

wrap the Eigen::Matrix<1,1> (they don't implement dot and cross operator)

Definition at line 1109 of file MatrixWrappers.cpp.

void def_uri ( )

Python wrapping for the URI class.

Definition at line 28 of file URIWrapper.cpp.

std::string cf3::python::derived_type_name ( ComponentWrapper self)

Definition at line 376 of file ComponentWrapper.cpp.

void cf3::python::failed_assertion_translate ( const common::FailedAssertion e)

Definition at line 90 of file MatrixWrappers.cpp.

void cf3::python::generic_setattr ( boost::python::object const &  target,
char const *  key,
boost::python::object const &  value 
)
inline

Helper function to set attributes, since we override the setattr function. This behaves exactly like boost::python::setattr, except that it calls the generic python setattr and thus does not recurse on components

Definition at line 19 of file Utility.hpp.

boost::python::object cf3::python::get_child ( ComponentWrapper self,
const std::string &  name 
)

Definition at line 353 of file ComponentWrapper.cpp.

boost::python::object cf3::python::get_item ( ComponentWrapper self,
const Uint  i 
)

Definition at line 404 of file ComponentWrapper.cpp.

Uint cf3::python::get_len ( ComponentWrapper self)

Definition at line 396 of file ComponentWrapper.cpp.

bool cf3::python::is_equal ( ComponentWrapper self,
ComponentWrapper other 
)

Definition at line 425 of file ComponentWrapper.cpp.

bool cf3::python::is_not_equal ( ComponentWrapper self,
ComponentWrapper other 
)

Definition at line 430 of file ComponentWrapper.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_adjoint ( boost::shared_ptr< TMATRIX self)

Definition at line 759 of file MatrixWrappers.cpp.

boost::shared_ptr<matrix_array_mapper<rows,cols> > cf3::python::matrix_array_get ( boost::shared_ptr< TMATRIX self)

Definition at line 912 of file MatrixWrappers.cpp.

void cf3::python::matrix_array_set ( boost::shared_ptr< TMATRIX self,
boost::shared_ptr< matrix_array_mapper< rows, cols > >  other 
)

Definition at line 918 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_block ( boost::shared_ptr< TMATRIX self,
Uint  col,
Uint  row,
Uint  colnum,
Uint  rownum 
)

Definition at line 705 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_bottom_left_corner ( boost::shared_ptr< TMATRIX self,
Uint  colnum,
Uint  rownum 
)

Definition at line 723 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_bottom_right_corner ( boost::shared_ptr< TMATRIX self,
Uint  colnum,
Uint  rownum 
)

Definition at line 729 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_bottom_rows ( boost::shared_ptr< TMATRIX self,
Uint  rownum 
)

Definition at line 741 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_by_matrix_dyn ( boost::shared_ptr< TMATRIX self,
const TOTHERMATRIX other 
)

Definition at line 448 of file MatrixWrappers.cpp.

boost::shared_ptr<TRETURNMATRIX > cf3::python::matrix_by_matrix_left ( boost::shared_ptr< TMATRIX self,
const TOTHERMATRIX other 
)

Definition at line 436 of file MatrixWrappers.cpp.

boost::shared_ptr<TRETURNMATRIX > cf3::python::matrix_by_matrix_right ( boost::shared_ptr< TMATRIX self,
const TOTHERMATRIX other 
)

Definition at line 442 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_cols ( boost::shared_ptr< TMATRIX self)

Definition at line 613 of file MatrixWrappers.cpp.

void cf3::python::matrix_conservative_resize ( boost::shared_ptr< TMATRIX self,
const Uint  rownum,
const Uint  colnum 
)

Definition at line 567 of file MatrixWrappers.cpp.

Real cf3::python::matrix_determinant ( boost::shared_ptr< TMATRIX self)

Definition at line 861 of file MatrixWrappers.cpp.

void cf3::python::matrix_diagonal ( boost::shared_ptr< TMATRIX self,
const Real  value 
)

Definition at line 877 of file MatrixWrappers.cpp.

boost::shared_ptr<TVECTOR > cf3::python::matrix_eigenvalues ( boost::shared_ptr< TMATRIX self)

Definition at line 866 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_get_col ( boost::shared_ptr< TMATRIX self,
Uint  col 
)

Definition at line 646 of file MatrixWrappers.cpp.

boost::shared_ptr<TVECTOR > cf3::python::matrix_get_col_vector ( boost::shared_ptr< TMATRIX self,
Uint  col 
)

Definition at line 658 of file MatrixWrappers.cpp.

boost::shared_ptr<TVECTOR > cf3::python::matrix_get_diagonal_default ( boost::shared_ptr< TMATRIX self)

Definition at line 845 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNVECTOR > cf3::python::matrix_get_diagonal_ind ( boost::shared_ptr< TMATRIX self,
const int  n 
)

Definition at line 839 of file MatrixWrappers.cpp.

Real cf3::python::matrix_get_item ( boost::shared_ptr< TMATRIX self,
const tuple &  t 
)

Definition at line 576 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_get_row ( boost::shared_ptr< TMATRIX self,
Uint  row 
)

Definition at line 640 of file MatrixWrappers.cpp.

boost::shared_ptr<TVECTOR > cf3::python::matrix_get_row_vector ( boost::shared_ptr< TMATRIX self,
Uint  row 
)

Definition at line 652 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_iadjoint ( boost::shared_ptr< TMATRIX self)

Definition at line 771 of file MatrixWrappers.cpp.

void cf3::python::matrix_identity_dynamic ( boost::shared_ptr< TMATRIX self)

Definition at line 834 of file MatrixWrappers.cpp.

void cf3::python::matrix_identity_static ( boost::shared_ptr< TMATRIX self)

Definition at line 829 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_inner_size ( boost::shared_ptr< TMATRIX self)

Definition at line 618 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_inner_stride ( boost::shared_ptr< TMATRIX self)

Definition at line 627 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_inverse ( boost::shared_ptr< TMATRIX self)

Definition at line 785 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_approx ( boost::shared_ptr< TMATRIX self,
boost::shared_ptr< TMATRIX other,
const Real  prec 
)

Definition at line 897 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_constant ( boost::shared_ptr< TMATRIX self,
const Real  value,
const Real  prec 
)

Definition at line 882 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_diagonal ( boost::shared_ptr< TMATRIX self,
const Real  prec 
)

Definition at line 887 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_equal ( boost::shared_ptr< TMATRIX self,
boost::shared_ptr< TMATRIX other 
)

Definition at line 902 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_identity ( boost::shared_ptr< TMATRIX self,
const Real  prec 
)

Definition at line 892 of file MatrixWrappers.cpp.

bool cf3::python::matrix_is_zero ( boost::shared_ptr< TMATRIX self,
const Real  prec 
)

Definition at line 907 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_itranspose ( boost::shared_ptr< TMATRIX self)

Definition at line 778 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_left_cols ( boost::shared_ptr< TMATRIX self,
Uint  colnum 
)

Definition at line 747 of file MatrixWrappers.cpp.

Real cf3::python::matrix_max ( boost::shared_ptr< TMATRIX self)

Definition at line 793 of file MatrixWrappers.cpp.

Real cf3::python::matrix_mean ( boost::shared_ptr< TMATRIX self)

Definition at line 798 of file MatrixWrappers.cpp.

Real cf3::python::matrix_min ( boost::shared_ptr< TMATRIX self)

Definition at line 803 of file MatrixWrappers.cpp.

Real cf3::python::matrix_norm ( boost::shared_ptr< TMATRIX self)

Definition at line 808 of file MatrixWrappers.cpp.

void cf3::python::matrix_normalize ( boost::shared_ptr< TMATRIX self)

Definition at line 824 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_normalized ( boost::shared_ptr< TMATRIX self)

Definition at line 818 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_outer_size ( boost::shared_ptr< TMATRIX self)

Definition at line 623 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_outer_stride ( boost::shared_ptr< TMATRIX self)

Definition at line 632 of file MatrixWrappers.cpp.

void cf3::python::matrix_resize ( boost::shared_ptr< TMATRIX self,
const Uint  rownum,
const Uint  colnum 
)

Definition at line 525 of file MatrixWrappers.cpp.

void cf3::python::matrix_resize_like ( boost::shared_ptr< TMATRIX self,
const TOTHERMATRIX other 
)

Definition at line 556 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_right_cols ( boost::shared_ptr< TMATRIX self,
Uint  colnum 
)

Definition at line 753 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_rows ( boost::shared_ptr< TMATRIX self)

Definition at line 608 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_scalar_div ( boost::shared_ptr< TMATRIX self,
const Real  value 
)

Definition at line 423 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_scalar_idiv ( boost::shared_ptr< TMATRIX self,
const Real  value 
)

Definition at line 429 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_scalar_imul ( boost::shared_ptr< TMATRIX self,
const Real  value 
)

Definition at line 416 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_scalar_mul ( boost::shared_ptr< TMATRIX self,
const Real  value 
)

Definition at line 410 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_col ( boost::shared_ptr< TMATRIX self,
Uint  col,
const TDYNMATRIX value 
)

Definition at line 676 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_col_vector ( boost::shared_ptr< TMATRIX self,
Uint  col,
const TVECTOR value 
)

Definition at line 695 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_diagonal_default ( boost::shared_ptr< TMATRIX self,
const TOTHERMATRIX other 
)

Definition at line 856 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_diagonal_ind ( boost::shared_ptr< TMATRIX self,
const int  n,
const TOTHERMATRIX other 
)

Definition at line 851 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_item ( boost::shared_ptr< TMATRIX self,
const tuple &  t,
const Real  value 
)

Definition at line 581 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_row ( boost::shared_ptr< TMATRIX self,
Uint  row,
const TDYNMATRIX value 
)

Definition at line 664 of file MatrixWrappers.cpp.

void cf3::python::matrix_set_row_vector ( boost::shared_ptr< TMATRIX self,
Uint  row,
const TVECTOR value 
)

Definition at line 688 of file MatrixWrappers.cpp.

Uint cf3::python::matrix_size ( boost::shared_ptr< TMATRIX self)

Definition at line 586 of file MatrixWrappers.cpp.

Real cf3::python::matrix_squared_norm ( boost::shared_ptr< TMATRIX self)

Definition at line 813 of file MatrixWrappers.cpp.

std::string cf3::python::matrix_str ( boost::shared_ptr< TMATRIX self)

Definition at line 591 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_top_left_corner ( boost::shared_ptr< TMATRIX self,
Uint  colnum,
Uint  rownum 
)

Definition at line 711 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_top_right_corner ( boost::shared_ptr< TMATRIX self,
Uint  colnum,
Uint  rownum 
)

Definition at line 717 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::matrix_top_rows ( boost::shared_ptr< TMATRIX self,
Uint  rownum 
)

Definition at line 735 of file MatrixWrappers.cpp.

Real cf3::python::matrix_trace ( boost::shared_ptr< TMATRIX self)

Definition at line 872 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::matrix_transpose ( boost::shared_ptr< TMATRIX self)

Definition at line 765 of file MatrixWrappers.cpp.

std::string cf3::python::name ( ComponentWrapper self)

Definition at line 340 of file ComponentWrapper.cpp.

void cf3::python::print_timing_tree ( ComponentWrapper self)

Definition at line 381 of file ComponentWrapper.cpp.

void python_execute_function ( )

Threaded c function, used to contain the PyEval_CodeEval.

Definition at line 83 of file ScriptEngine.cpp.

std::string cf3::python::python_list_element_type ( const boost::python::list &  pylist)

Extract the type string for the elements of a python list Only arrays with the same overall type are supported. Arrays containing a single floating point value are assumed to contain only floating point values

Definition at line 34 of file PythonAny.cpp.

boost::any cf3::python::python_to_any ( const boost::python::object &  value)

Convert the given python object to any.

boost::any cf3::python::python_to_any ( const boost::python::api::object &  value)

Definition at line 259 of file PythonAny.cpp.

int python_trace ( PyObject *  obj,
PyFrameObject *  frame,
int  what,
PyObject *  arg 
)

python tracing function, used to

Definition at line 68 of file ScriptEngine.cpp.

boost::shared_ptr<TDYNMATRIX > cf3::python::realmatrix_init_copy_dyn ( const TMATRIX other)

Definition at line 246 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_copy_static ( const TOTHERMATRIX other)

Definition at line 252 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_copy_static_dyn ( const TDYNMATRIX other)

Definition at line 261 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_size_default ( const Uint  rownum,
const Uint  colnum 
)

Definition at line 216 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_size_value ( const Uint  rownum,
const Uint  colnum,
const Real  value 
)

Definition at line 237 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_static_default ( )

Definition at line 202 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_static_tab ( const list  tab)

Definition at line 331 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_static_value ( const Real  value)

Definition at line 223 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realmatrix_init_tab ( const list  tab)

Definition at line 312 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realvector_init_copy_static_dyn ( const TDYNMATRIX other)

Definition at line 270 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realvector_init_size_default ( const Uint  size)

Definition at line 209 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realvector_init_size_value ( const Uint  size,
const Real  value 
)

Definition at line 230 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realvector_init_static_tab ( const list  tab)

Definition at line 301 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::realvector_init_tab ( const list  tab)

Definition at line 290 of file MatrixWrappers.cpp.

void cf3::python::set_item ( ComponentWrapper self,
const Uint  i,
boost::python::object &  value 
)

Definition at line 412 of file ComponentWrapper.cpp.

void cf3::python::store_timings ( ComponentWrapper self)

Definition at line 386 of file ComponentWrapper.cpp.

std::string cf3::python::to_str ( ComponentWrapper self)

Definition at line 420 of file ComponentWrapper.cpp.

std::string cf3::python::type_name ( const boost::python::object &  python_object)

Return the coolfluid type string for the given python type.

std::string cf3::python::type_name ( const boost::python::api::object &  python_object)

Definition at line 283 of file PythonAny.cpp.

common::URI cf3::python::uri ( ComponentWrapper self)

Definition at line 371 of file ComponentWrapper.cpp.

common::URI cf3::python::uri_combine_use_str ( const common::URI uri1,
const std::string &  uri2 
)

Definition at line 23 of file URIWrapper.cpp.

common::URI cf3::python::uri_combine_use_uri ( const common::URI uri1,
const common::URI uri2 
)

Definition at line 18 of file URIWrapper.cpp.

Uint cf3::python::uucount_count ( const common::UUCount self)

Definition at line 701 of file ComponentWrapper.cpp.

boost::python::str cf3::python::uucount_str ( const common::UUCount self)

Definition at line 688 of file ComponentWrapper.cpp.

boost::python::list cf3::python::uucount_uuid ( const common::UUCount self)

Definition at line 692 of file ComponentWrapper.cpp.

boost::shared_ptr<TSQUAREMATRIX > cf3::python::vector_as_diagonal ( boost::shared_ptr< TMATRIX self)

Definition at line 550 of file MatrixWrappers.cpp.

void cf3::python::vector_conservative_resize ( boost::shared_ptr< TMATRIX self,
const Uint  size 
)

Definition at line 562 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::vector_cross ( boost::shared_ptr< TMATRIX self,
const TMATRIX other 
)

Definition at line 515 of file MatrixWrappers.cpp.

Real cf3::python::vector_dot ( boost::shared_ptr< TMATRIX self,
const TMATRIX other 
)

Definition at line 510 of file MatrixWrappers.cpp.

Real cf3::python::vector_get_item ( boost::shared_ptr< TMATRIX self,
const Uint  i 
)

Definition at line 461 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNVECTOR > cf3::python::vector_head ( boost::shared_ptr< TVECTOR self,
Uint  size 
)

Definition at line 487 of file MatrixWrappers.cpp.

Real cf3::python::vector_norm ( boost::shared_ptr< TMATRIX self)

Definition at line 530 of file MatrixWrappers.cpp.

void cf3::python::vector_normalize ( boost::shared_ptr< TMATRIX self)

Definition at line 545 of file MatrixWrappers.cpp.

boost::shared_ptr<TMATRIX > cf3::python::vector_normalized ( boost::shared_ptr< TMATRIX self)

Definition at line 540 of file MatrixWrappers.cpp.

void cf3::python::vector_resize ( boost::shared_ptr< TMATRIX self,
const Uint  size 
)

Definition at line 505 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNVECTOR > cf3::python::vector_segment ( boost::shared_ptr< TVECTOR self,
Uint  ind,
Uint  size 
)

Definition at line 499 of file MatrixWrappers.cpp.

void cf3::python::vector_set_item ( boost::shared_ptr< TMATRIX self,
const Uint  i,
const Real  value 
)

Definition at line 466 of file MatrixWrappers.cpp.

Uint cf3::python::vector_size ( boost::shared_ptr< TMATRIX self)

Definition at line 471 of file MatrixWrappers.cpp.

Real cf3::python::vector_squared_norm ( boost::shared_ptr< TMATRIX self)

Definition at line 535 of file MatrixWrappers.cpp.

std::string cf3::python::vector_str ( boost::shared_ptr< TMATRIX self)

Definition at line 476 of file MatrixWrappers.cpp.

boost::shared_ptr<TDYNVECTOR > cf3::python::vector_tail ( boost::shared_ptr< TVECTOR self,
Uint  size 
)

Definition at line 493 of file MatrixWrappers.cpp.

boost::python::object cf3::python::weak_ref ( const boost::python::object &  source)
inline

Helper function to get a weak reference to the given object.

Definition at line 27 of file Utility.hpp.

boost::python::object wrap_component ( const Handle< common::Component > &  component)

Wrap the passed component in a python object.

Definition at line 243 of file ComponentWrapper.cpp.

Variable Documentation

int current_execution_fragment

Definition at line 61 of file ScriptEngine.cpp.

boost::python::handle global_scope

Definition at line 52 of file ScriptEngine.cpp.

Definition at line 15 of file LibPython.cpp.

boost::python::handle local_scope

Definition at line 52 of file ScriptEngine.cpp.

Definition at line 41 of file NetworkXPython.cpp.

boost::condition_variable* python_break_condition

Definition at line 58 of file ScriptEngine.cpp.

boost::mutex* python_break_mutex

Definition at line 56 of file ScriptEngine.cpp.

std::queue< std::pair<boost::python::handle<>,int> > python_code_queue

Definition at line 53 of file ScriptEngine.cpp.

boost::condition_variable* python_code_queue_condition

Definition at line 55 of file ScriptEngine.cpp.

boost::mutex* python_code_queue_mutex

Definition at line 54 of file ScriptEngine.cpp.

boost::mutex* python_scope_mutex

Definition at line 57 of file ScriptEngine.cpp.

bool python_should_break

Definition at line 63 of file ScriptEngine.cpp.

bool python_should_run

Definition at line 64 of file ScriptEngine.cpp.

bool python_should_wake_up

Definition at line 62 of file ScriptEngine.cpp.

boost::thread* python_stream_statement_thread

Definition at line 60 of file ScriptEngine.cpp.

boost::thread* python_thread

Definition at line 59 of file ScriptEngine.cpp.

ScriptEngine* script_engine =NULL

Definition at line 51 of file ScriptEngine.cpp.

ComponentBuilder< ScriptEngine, Component, LibPython > ScriptEngine_Builder

Definition at line 47 of file ScriptEngine.cpp.

Definition at line 23 of file TestAllOptions.cpp.

Definition at line 23 of file TestSignals.cpp.

Send comments to:
COOLFluiD Web Admin