CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <DoF.hh>
A RemoteHandle can be initialized with either a double or integer reference and then passed to a DoF (or to a BasisFunction, which contains DoFs), in order for the DoF to access the remote value
Public Member Functions | |
RemoteHandle (std::string const &_type_name, std::string const &_var_name, Index _dof_ID) | |
RemoteHandle & | operator= (double const &d) |
RemoteHandle & | operator= (int const &i) |
RemoteHandle & | operator= (double &&d)=delete |
RemoteHandle & | operator= (int &&i)=delete |
bool | operator< (RemoteHandle const &_rhs) const |
bool | operator== (RemoteHandle const &_rhs) const |
const int * | i_ptr () const |
const double * | d_ptr () const |
Private Attributes | |
double const * | m_d_ptr |
int const * | m_i_ptr |
std::string | m_type_name |
std::string | m_var_name |
Index | m_dof_ID |
|
inline |
|
inline |
|
delete |
|
inline |
|
delete |
|
inline |
|
inline |