proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::arguments_dict Struct Reference

#include </Users/cekees/proteus/proteus/mprans/ArgumentsDict.h>

Collaboration diagram for proteus::arguments_dict:
[legend]

Public Member Functions

template<class T >
xt::pyarray< T > & array (const std::string &key)
 
template<class T >
Tscalar (const std::string &key)
 
template<>
xt::pyarray< double > & array (const std::string &key)
 
template<>
xt::pyarray< int > & array (const std::string &key)
 
template<>
double & scalar (const std::string &key)
 
template<>
int & scalar (const std::string &key)
 

Public Attributes

pyarray_dict< std::string, double > m_darray
 
pyarray_dict< std::string, int > m_iarray
 
scalar_dict< std::string, double > m_dscalar
 
scalar_dict< std::string, int > m_iscalar
 

Detailed Description

Definition at line 69 of file ArgumentsDict.h.

Member Function Documentation

◆ array() [1/3]

template<class T >
xt::pyarray<T>& proteus::arguments_dict::array ( const std::string &  key)

◆ array() [2/3]

template<>
xt::pyarray<int>& proteus::arguments_dict::array ( const std::string &  key)
inline

Definition at line 134 of file ArgumentsDict.h.

◆ array() [3/3]

template<>
xt::pyarray<double>& proteus::arguments_dict::array ( const std::string &  key)
inline

Definition at line 134 of file ArgumentsDict.h.

◆ scalar() [1/3]

template<class T >
T& proteus::arguments_dict::scalar ( const std::string &  key)

◆ scalar() [2/3]

template<>
double& proteus::arguments_dict::scalar ( const std::string &  key)
inline

Definition at line 165 of file ArgumentsDict.h.

◆ scalar() [3/3]

template<>
int& proteus::arguments_dict::scalar ( const std::string &  key)
inline

Definition at line 171 of file ArgumentsDict.h.

Member Data Documentation

◆ m_darray

pyarray_dict<std::string, double> proteus::arguments_dict::m_darray

Definition at line 71 of file ArgumentsDict.h.

◆ m_dscalar

scalar_dict<std::string, double> proteus::arguments_dict::m_dscalar

Definition at line 73 of file ArgumentsDict.h.

◆ m_iarray

pyarray_dict<std::string, int> proteus::arguments_dict::m_iarray

Definition at line 72 of file ArgumentsDict.h.

◆ m_iscalar

scalar_dict<std::string, int> proteus::arguments_dict::m_iscalar

Definition at line 74 of file ArgumentsDict.h.


The documentation for this struct was generated from the following file: