#include <ConfigEnumStrain.hh>
Enumerate strained Configurations
Definition at line 54 of file ConfigEnumStrain.hh.
|
| ConfigEnumStrain (ConfigEnumInput const &initial_state, ConfigEnumStrainParams const ¶ms) |
|
| ConfigEnumStrain (ConfigEnumInput const &initial_state, std::vector< SymRepTools_v2::SubWedge > const &wedges, Eigen::VectorXd min_val, Eigen::VectorXd max_val, Eigen::VectorXd inc_val, DoFKey const &strain_key, bool auto_range, bool trim_corners) |
|
std::string | name () const override |
| Derived enumerators must implement name, via ENUM_MEMBERS. More...
|
|
Index | subwedge_index () const |
|
Eigen::VectorXd | normal_coordinate () const |
|
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>
◆ ConfigEnumStrain() [1/2]
◆ ConfigEnumStrain() [2/2]
CASM::ConfigEnumStrain::ConfigEnumStrain |
( |
ConfigEnumInput const & |
initial_state, |
|
|
std::vector< SymRepTools_v2::SubWedge > const & |
wedges, |
|
|
Eigen::VectorXd |
min_val, |
|
|
Eigen::VectorXd |
max_val, |
|
|
Eigen::VectorXd |
inc_val, |
|
|
DoFKey const & |
strain_key, |
|
|
bool |
auto_range, |
|
|
bool |
trim_corners |
|
) |
| |
◆ _decrement_step()
template<typename ValueType , bool IsConst = true>
void CASM::EnumeratorBase::_decrement_step |
|
inlineprotectedinherited |
◆ _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 |
◆ _perm_begin()
◆ _perm_end()
◆ _set_current_ptr()
template<typename ValueType , bool IsConst = true>
◆ _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::ConfigEnumStrain::increment |
( |
| ) |
|
|
overrideprivatevirtual |
◆ name() [1/2]
std::string CASM::ConfigEnumStrain::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.
◆ normal_coordinate()
Eigen::VectorXd CASM::ConfigEnumStrain::normal_coordinate |
( |
| ) |
const |
◆ 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.
◆ subwedge_index()
Index CASM::ConfigEnumStrain::subwedge_index |
( |
| ) |
const |
◆ 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::ConfigEnumStrain::enumerator_name = "ConfigEnumStrain" |
|
static |
◆ InputEnumIteratorBase< ValueType, IsConst >
◆ m_counter
EigenCounter<Eigen::VectorXd> CASM::ConfigEnumStrain::m_counter |
|
private |
◆ m_current
◆ m_current_ptr
template<typename ValueType , bool IsConst = true>
◆ m_equiv_ind
Index CASM::ConfigEnumStrain::m_equiv_ind |
|
private |
◆ m_perm_begin
◆ m_perm_end
◆ m_shape_factor
Eigen::MatrixXd CASM::ConfigEnumStrain::m_shape_factor |
|
private |
◆ m_step
◆ m_strain_key
DoFKey CASM::ConfigEnumStrain::m_strain_key |
|
private |
◆ m_trim_corners
bool CASM::ConfigEnumStrain::m_trim_corners |
|
private |
◆ m_valid
bool CASM::EnumeratorBase::m_valid |
|
privateinherited |
◆ m_wedges
The documentation for this class was generated from the following files: