CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ClusterSpecs.hh>
Parameters most commonly used for local orbit generation.
Definition at line 154 of file ClusterSpecs.hh.
Public Types | |
typedef std::vector< IntegralCluster > | IntegralClusterVec |
typedef std::vector< PrimPeriodicOrbit< IntegralCluster > > | PeriodicOrbitVec |
typedef std::vector< LocalOrbit< IntegralCluster > > | LocalOrbitVec |
Public Member Functions | |
LocalMaxLengthClusterSpecs (std::shared_ptr< Structure const > _shared_prim, SymGroup const &_generating_group, IntegralCluster const &_phenomenal, SiteFilterFunction const &_site_filter, std::vector< double > const &_max_length, std::vector< double > const &_cutoff_radius, bool _include_phenomenal_sites, std::vector< IntegralClusterOrbitGenerator > const &_custom_generators={}) | |
std::string | name () const |
This is the orbit generation method name. More... | |
CLUSTER_PERIODICITY_TYPE | periodicity_type () const |
PeriodicOrbitVec | make_periodic_orbits (IntegralClusterVec const &generating_elements) const |
PeriodicOrbitVec | make_periodic_orbits (std::ostream &status) const |
LocalOrbitVec | make_local_orbits (IntegralClusterVec const &generating_elements) const |
LocalOrbitVec | make_local_orbits (std::ostream &status) const |
std::unique_ptr< Cloneable > | clone () const |
std::unique_ptr< Cloneable > | move () |
Public Attributes | |
std::shared_ptr< Structure const > | shared_prim |
The prim. More... | |
SymGroup | generating_group |
LocalSymCompare< IntegralCluster > | sym_compare |
The comparisons used for orbit generation. More... | |
IntegralCluster | phenomenal |
Phenomenal cluster, used to find local neighborhood. More... | |
SiteFilterFunction | site_filter |
std::vector< double > | max_length |
std::vector< double > | cutoff_radius |
bool | include_phenomenal_sites |
std::vector< IntegralClusterOrbitGenerator > | custom_generators |
Specifies particular clusters that should be used to generate orbits. More... | |
Static Public Attributes | |
static std::string const | method_name = "local_max_length" |
Private Member Functions | |
std::string | _name () const override |
CLUSTER_PERIODICITY_TYPE | _periodicity_type () const override |
LocalOrbitVec | _make_local_orbits (IntegralClusterVec const &generating_elements) const override |
LocalOrbitVec | _make_local_orbits (std::ostream &status) const override |
virtual PeriodicOrbitVec | _make_periodic_orbits (IntegralClusterVec const &generating_elements) const |
virtual PeriodicOrbitVec | _make_periodic_orbits (std::ostream &status) const |
virtual Cloneable * | _clone () const =0 |
virtual Cloneable * | _move ()=0 |
|
inherited |
Definition at line 37 of file ClusterSpecs.hh.
|
inherited |
Definition at line 39 of file ClusterSpecs.hh.
|
inherited |
Definition at line 38 of file ClusterSpecs.hh.
CASM::LocalMaxLengthClusterSpecs::LocalMaxLengthClusterSpecs | ( | std::shared_ptr< Structure const > | _shared_prim, |
SymGroup const & | _generating_group, | ||
IntegralCluster const & | _phenomenal, | ||
SiteFilterFunction const & | _site_filter, | ||
std::vector< double > const & | _max_length, | ||
std::vector< double > const & | _cutoff_radius, | ||
bool | _include_phenomenal_sites, | ||
std::vector< IntegralClusterOrbitGenerator > const & | _custom_generators = {} |
||
) |
Definition at line 141 of file ClusterSpecs.cc.
|
privatepure virtualinherited |
|
overrideprivatevirtual |
Reimplemented from CASM::ClusterSpecs.
Definition at line 175 of file ClusterSpecs.cc.
|
overrideprivatevirtual |
Reimplemented from CASM::ClusterSpecs.
Definition at line 180 of file ClusterSpecs.cc.
|
privatevirtualinherited |
Reimplemented in CASM::GenericPeriodicClusterSpecs, and CASM::PeriodicMaxLengthClusterSpecs.
Definition at line 40 of file ClusterSpecs.cc.
|
privatevirtualinherited |
Reimplemented in CASM::GenericPeriodicClusterSpecs, and CASM::PeriodicMaxLengthClusterSpecs.
Definition at line 48 of file ClusterSpecs.cc.
|
privatepure virtualinherited |
|
overrideprivatevirtual |
Implements CASM::ClusterSpecs.
Definition at line 169 of file ClusterSpecs.cc.
|
overrideprivatevirtual |
Implements CASM::ClusterSpecs.
Definition at line 171 of file ClusterSpecs.cc.
|
inlineinherited |
Definition at line 92 of file cloneable_ptr.hh.
|
inherited |
Definition at line 30 of file ClusterSpecs.cc.
|
inherited |
Definition at line 35 of file ClusterSpecs.cc.
|
inherited |
Definition at line 20 of file ClusterSpecs.cc.
|
inherited |
Definition at line 25 of file ClusterSpecs.cc.
|
inlineinherited |
Definition at line 95 of file cloneable_ptr.hh.
|
inherited |
This is the orbit generation method name.
Definition at line 14 of file ClusterSpecs.cc.
|
inherited |
Definition at line 16 of file ClusterSpecs.cc.
std::vector<IntegralClusterOrbitGenerator> CASM::LocalMaxLengthClusterSpecs::custom_generators |
Specifies particular clusters that should be used to generate orbits.
Definition at line 210 of file ClusterSpecs.hh.
std::vector<double> CASM::LocalMaxLengthClusterSpecs::cutoff_radius |
Specifies the site-to-site cutoff radius for sites to be considered part of the local neighborhood, by orbit branch. For a site to be added to clusters in branch b it must be a distance less than cutoff_radius[b] to any site in the phenomenal cluster. The b==0 value is ignored.
Definition at line 203 of file ClusterSpecs.hh.
SymGroup CASM::LocalMaxLengthClusterSpecs::generating_group |
The invariant group of the phenomenal object, used to generate local orbits
Definition at line 174 of file ClusterSpecs.hh.
bool CASM::LocalMaxLengthClusterSpecs::include_phenomenal_sites |
If true, local clusters include phenomenal_cluster sites; otherwise they do not
Definition at line 207 of file ClusterSpecs.hh.
std::vector<double> CASM::LocalMaxLengthClusterSpecs::max_length |
Specifies filter for truncating orbits, by orbit branch. The value max_length[b], is the max site-to-site distance within a cluster for that cluster to be included in branch b. The b==0 value is ignored.
Notes:
Definition at line 197 of file ClusterSpecs.hh.
|
static |
Definition at line 157 of file ClusterSpecs.hh.
IntegralCluster CASM::LocalMaxLengthClusterSpecs::phenomenal |
Phenomenal cluster, used to find local neighborhood.
Definition at line 180 of file ClusterSpecs.hh.
std::shared_ptr<Structure const> CASM::LocalMaxLengthClusterSpecs::shared_prim |
The prim.
Definition at line 170 of file ClusterSpecs.hh.
SiteFilterFunction CASM::LocalMaxLengthClusterSpecs::site_filter |
A filter which excludes sites that are part of the local neighborhood from being included in orbits. If site_filter(site)==true
, then the site is included, else excluded.
Definition at line 185 of file ClusterSpecs.hh.
LocalSymCompare<IntegralCluster> CASM::LocalMaxLengthClusterSpecs::sym_compare |
The comparisons used for orbit generation.
Definition at line 177 of file ClusterSpecs.hh.