SelectEndSegment¶
-
class
SelectEndSegment
: public feasst::SelectSegment¶ Select an end segment. Set the anchor as the other end of the selection from the end point.
Subclassed by feasst::SelectReptate
Public Functions
-
bool
random_end_segment_in_particle
(const Configuration &config, const int max_length, Select *select, Random *random, bool *is_endpoint_beginning)¶ - Parameters
is_endpoint_beginning
: Set the maximum length of the segment. If -1 (default), consider all possible lengths.
Select all sites between a random endpoint and a randomly selectioned site in a randomly selected particle in group. Return true if the endpoint is at the beginning.
-
bool