#include <ConfigEnumSiteDoFs.hh>
Enumerate site (continuous local) DoFs
Note: See ConfigEnumSiteDoFsParams for method and parameter details
Definition at line 115 of file ConfigEnumSiteDoFs.hh.
|
| ConfigEnumSiteDoFs (ConfigEnumInput const &_in_config, ConfigEnumSiteDoFsParams const ¶ms) |
| See ConfigEnumSiteDoFsParams for method and parameter details. More...
|
|
| ConfigEnumSiteDoFs (ConfigEnumInput const &_init, DoFKey const &_dof, Eigen::Ref< const Eigen::MatrixXd > const &_axes, Eigen::Ref< const Eigen::VectorXd > const &min_val, Eigen::Ref< const Eigen::VectorXd > const &max_val, Eigen::Ref< const Eigen::VectorXd > const &inc_val, Index _min_nonzero, Index _max_nonzero) |
| See ConfigEnumSiteDoFsParams for method and parameter details. More...
|
|
std::string | name () const override |
| Derived enumerators must implement name, via ENUM_MEMBERS. More...
|
|
void | increment () override |
| Implements increment over all strain states. More...
|
|
iterator | begin () |
|
iterator | end () |
|
reference | current () const |
| Access the current ObjectType by reference. More...
|
|
virtual std::string | name () const=0 |
| Derived enumerators must implement name, via ENUM_MEMBERS. More...
|
|
virtual jsonParser | source (step_type step) const |
|
virtual jsonParser | source (step_type step) const |
|
step_type | step () const |
| Increments with each enumerated object. More...
|
|
step_type | step () const |
| Increments with each enumerated object. More...
|
|
bool | valid () const |
| Returns false if enumeration is complete. More...
|
|
bool | valid () const |
| Returns false if enumeration is complete. More...
|
|
◆ iterator
◆ reference
template<typename ValueType , bool IsConst = true>
◆ step_type
template<typename ValueType , bool IsConst = true>
◆ value_type
template<typename ValueType , bool IsConst = true>
◆ ConfigEnumSiteDoFs() [1/2]
◆ ConfigEnumSiteDoFs() [2/2]
CASM::ConfigEnumSiteDoFs::ConfigEnumSiteDoFs |
( |
ConfigEnumInput const & |
_init, |
|
|
DoFKey const & |
_dof, |
|
|
Eigen::Ref< const Eigen::MatrixXd > const & |
_axes, |
|
|
Eigen::Ref< const Eigen::VectorXd > const & |
min_val, |
|
|
Eigen::Ref< const Eigen::VectorXd > const & |
max_val, |
|
|
Eigen::Ref< const Eigen::VectorXd > const & |
inc_val, |
|
|
Index |
_min_nonzero, |
|
|
Index |
_max_nonzero |
|
) |
| |
◆ _check_current()
bool CASM::ConfigEnumSiteDoFs::_check_current |
( |
| ) |
const |
|
private |
◆ _check_sparsity()
bool CASM::ConfigEnumSiteDoFs::_check_sparsity |
( |
| ) |
const |
|
private |
◆ _decrement_step()
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_decrement_step |
|
inlineprotectedinherited |
◆ _increment_combo()
bool CASM::ConfigEnumSiteDoFs::_increment_combo |
( |
| ) |
|
|
private |
◆ _increment_step()
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_increment_step |
|
inlineprotectedinherited |
◆ _initialize() [1/2]
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_initialize |
|
inlineprotectedinherited |
Initialize
- Sets step to 0
- Sets valid to true
Definition at line 144 of file Enumerator.hh.
◆ _initialize() [2/2]
template<typename ValueType , bool IsConst = true>
Initialize
- Sets current to point at _initial
- Sets step to 0
- Sets valid to true
Definition at line 197 of file Enumerator.hh.
◆ _invalidate()
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_invalidate |
|
inlineprotectedinherited |
◆ _set_current_ptr()
template<typename ValueType , bool IsConst = true>
◆ _set_dof()
void CASM::ConfigEnumSiteDoFs::_set_dof |
( |
| ) |
|
|
private |
◆ _set_step() [1/2]
void CASM::EnumeratorBase::_set_step |
( |
step_type |
val | ) |
|
|
inlineprotectedinherited |
◆ _set_step() [2/2]
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_set_step |
|
inlineprotectedinherited |
◆ _validate()
void CASM::EnumeratorBase::_validate |
( |
| ) |
|
|
inlineprotectedinherited |
Used if random access enumerator step is moved into valid range.
Definition at line 162 of file Enumerator.hh.
◆ begin()
◆ current()
template<typename ValueType , bool IsConst = true>
Access the current ObjectType by reference.
Definition at line 211 of file Enumerator.hh.
◆ end()
◆ increment()
void CASM::ConfigEnumSiteDoFs::increment |
( |
| ) |
|
|
overridevirtual |
◆ name() [1/2]
std::string CASM::ConfigEnumSiteDoFs::name |
( |
| ) |
const |
|
overridevirtual |
◆ name() [2/2]
template<typename ValueType , bool IsConst = true>
virtual std::string CASM::EnumeratorBase::name |
|
inherited |
Derived enumerators must implement name, via ENUM_MEMBERS.
◆ source() [1/2]
Default Object source just uses step#
Returns:
{
"enumerated_by": "<enumerator_type>",
}
step_type step() const
Increments with each enumerated object.
Definition at line 129 of file Enumerator.hh.
◆ source() [2/2]
template<typename ValueType , bool IsConst = true>
Default Object source just uses step#
Returns:
{
"enumerated_by": "<enumerator_type>",
}
Definition at line 129 of file Enumerator.hh.
◆ step() [1/2]
step_type CASM::EnumeratorBase::step |
( |
| ) |
const |
|
inlineinherited |
Increments with each enumerated object.
Definition at line 115 of file Enumerator.hh.
◆ step() [2/2]
template<typename ValueType , bool IsConst = true>
Increments with each enumerated object.
Definition at line 115 of file Enumerator.hh.
◆ valid() [1/2]
bool CASM::EnumeratorBase::valid |
( |
| ) |
const |
|
inlineinherited |
Returns false if enumeration is complete.
Definition at line 118 of file Enumerator.hh.
◆ valid() [2/2]
template<typename ValueType , bool IsConst = true>
bool CASM::EnumeratorBase::valid |
|
inlineinherited |
Returns false if enumeration is complete.
Definition at line 118 of file Enumerator.hh.
◆ enumerator_name
const std::string CASM::ConfigEnumSiteDoFs::enumerator_name = "ConfigEnumSiteDoFs" |
|
static |
◆ InputEnumIteratorBase< ValueType, IsConst >
◆ m_axes
Eigen::MatrixXd CASM::ConfigEnumSiteDoFs::m_axes |
|
private |
◆ m_combo
std::vector<Index> CASM::ConfigEnumSiteDoFs::m_combo |
|
private |
◆ m_combo_index
Index CASM::ConfigEnumSiteDoFs::m_combo_index |
|
private |
◆ m_counter
EigenCounter<Eigen::VectorXd> CASM::ConfigEnumSiteDoFs::m_counter |
|
private |
◆ m_current
◆ m_current_ptr
template<typename ValueType , bool IsConst = true>
◆ m_dof_dims
std::vector<Index> CASM::ConfigEnumSiteDoFs::m_dof_dims |
|
private |
◆ m_dof_key
DoFKey CASM::ConfigEnumSiteDoFs::m_dof_key |
|
private |
◆ m_dof_vals
◆ m_inc
Eigen::VectorXd CASM::ConfigEnumSiteDoFs::m_inc |
|
private |
◆ m_max
Eigen::VectorXd CASM::ConfigEnumSiteDoFs::m_max |
|
private |
◆ m_max_nonzero
Index CASM::ConfigEnumSiteDoFs::m_max_nonzero |
|
private |
◆ m_min
Eigen::VectorXd CASM::ConfigEnumSiteDoFs::m_min |
|
private |
◆ m_min_nonzero
Index CASM::ConfigEnumSiteDoFs::m_min_nonzero |
|
private |
◆ m_sites
std::vector<Index> CASM::ConfigEnumSiteDoFs::m_sites |
|
private |
◆ m_step
◆ m_subset_mode
bool CASM::ConfigEnumSiteDoFs::m_subset_mode |
|
private |
◆ m_unit_length
bool CASM::ConfigEnumSiteDoFs::m_unit_length |
|
private |
◆ m_valid
bool CASM::EnumeratorBase::m_valid |
|
privateinherited |
The documentation for this class was generated from the following files: