Parallel Finite Element - General geometry Ewald-like Method
Part of Continuum-particle Simulation Suite under MICCOM
|
#include <polymer_chain.h>
Public Member Functions | |
PolymerChain (const std::size_t chain_id) | |
PolymerChain (const std::size_t chain_id, PMPeriodicBoundary &pm_pb) | |
~PolymerChain () | |
void | read_data (const std::string &filename) |
void | read_data_pizza (const std::string &filename) |
void | read_data_vtk (const std::string &filename) |
void | read_data_csv (const std::string &filename) |
void | read_pbc_count () |
void | add_bead (const Point &pt, const PointType point_type, const int parent_id, const std::vector< Real > &rot_vec) |
void | generate_polymer_chains (const unsigned int n_beads, const unsigned int n_chains, const Real init_bondLength, const Point init_bbox_min, const Point init_bbox_max, const std::string &filename, unsigned int comm_in_rank) |
void | generate_polymer_chain (const Point pt0, const std::size_t Nb, const Real Ls, const Point &bbox_min, const Point &bbox_max, const std::string &filename) |
void | print_info () const |
void | write_polymer_chain (const unsigned int &step_id, const unsigned int &o_step, const Real &real_time, const std::vector< Point > ¢er0, const std::vector< Real > &lvec, std::vector< std::string > &output_file, unsigned int comm_in_rank) const |
void | write_polymer_trajectory (const unsigned int &o_step, unsigned int comm_in_rank) const |
void | write_polymer_com (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_polymer_stretch (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_polymer_rog (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_polymer_msd (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Point > ¢er0, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_bead (const unsigned int &step_id, const unsigned int &o_step, const Real &real_time, const std::vector< Point > ¢er0, const std::vector< Real > &lvec, const std::vector< std::string > &output_file, unsigned int comm_in_rank) const |
void | write_bead_trajectory (const unsigned int &o_step, unsigned int comm_in_rank) const |
void | write_bead_com (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_bead_msd (const unsigned int &step_id, const unsigned int &o_step, const std::vector< Point > ¢er0, const std::vector< Real > &lvec, unsigned int comm_in_rank) const |
void | write_time (const unsigned int &step_id, const unsigned int &o_step, const Real &real_time, unsigned int comm_in_rank) const |
void | write_unfolded_polymer_chain (const std::string &filename) const |
void | write_unfolded_com (const std::string &filename) const |
std::size_t | chain_id () const |
std::size_t | n_chains () const |
std::size_t | n_beads () const |
std::size_t | n_bonds () const |
std::size_t | n_springs () const |
const std::vector< PointParticle * > & | beads () |
const std::vector< std::vector< std::size_t > > & | bonds () |
Point | spring_vector (const unsigned int i) const |
Point | end_to_end_vector () const |
Point | end_to_end_vector_square () const |
Real | compute_chain_length () |
void | compute_center_of_mass (const std::vector< Real > &lvec, std::vector< Point > ¢er) const |
void | initial_bead_center_of_mass (std::vector< Point > ¢er0) const |
void | initial_chain_center_of_mass (std::vector< Point > ¢er0) const |
void | compute_chain_stretch (const std::vector< Real > &lvec, std::vector< Point > &stretch) const |
void | compute_radius_of_gyration (const std::vector< Real > &lvec, const std::vector< Point > ¢er, std::vector< Real > &RgSqrt) const |
void | compute_mean_square_displacement (const std::vector< Point > &R0, const std::vector< Point > &Rt, Point &msd) const |
bool | check_chain (const Real &Ls) |
Point | bead_vector (const Point &bead0, const Point &bead1) const |
libMesh::PolymerChain::PolymerChain | ( | const std::size_t | chain_id | ) |
libMesh::PolymerChain::PolymerChain | ( | const std::size_t | chain_id, |
PMPeriodicBoundary & | pm_pb | ||
) |
libMesh::PolymerChain::~PolymerChain | ( | ) |
void libMesh::PolymerChain::add_bead | ( | const Point & | pt, |
const PointType | point_type, | ||
const int | parent_id, | ||
const std::vector< Real > & | rot_vec | ||
) |
Point libMesh::PolymerChain::bead_vector | ( | const Point & | bead0, |
const Point & | bead1 | ||
) | const |
|
inline |
|
inline |
|
inline |
bool libMesh::PolymerChain::check_chain | ( | const Real & | Ls | ) |
void libMesh::PolymerChain::compute_center_of_mass | ( | const std::vector< Real > & | lvec, |
std::vector< Point > & | center | ||
) | const |
Real libMesh::PolymerChain::compute_chain_length | ( | ) |
void libMesh::PolymerChain::compute_chain_stretch | ( | const std::vector< Real > & | lvec, |
std::vector< Point > & | stretch | ||
) | const |
void libMesh::PolymerChain::compute_mean_square_displacement | ( | const std::vector< Point > & | R0, |
const std::vector< Point > & | Rt, | ||
Point & | msd | ||
) | const |
void libMesh::PolymerChain::compute_radius_of_gyration | ( | const std::vector< Real > & | lvec, |
const std::vector< Point > & | center, | ||
std::vector< Real > & | RgSqrt | ||
) | const |
Point libMesh::PolymerChain::end_to_end_vector | ( | ) | const |
Point libMesh::PolymerChain::end_to_end_vector_square | ( | ) | const |
void libMesh::PolymerChain::generate_polymer_chain | ( | const Point | pt0, |
const std::size_t | Nb, | ||
const Real | Ls, | ||
const Point & | bbox_min, | ||
const Point & | bbox_max, | ||
const std::string & | filename | ||
) |
void libMesh::PolymerChain::generate_polymer_chains | ( | const unsigned int | n_beads, |
const unsigned int | n_chains, | ||
const Real | init_bondLength, | ||
const Point | init_bbox_min, | ||
const Point | init_bbox_max, | ||
const std::string & | filename, | ||
unsigned int | comm_in_rank | ||
) |
void libMesh::PolymerChain::initial_bead_center_of_mass | ( | std::vector< Point > & | center0 | ) | const |
void libMesh::PolymerChain::initial_chain_center_of_mass | ( | std::vector< Point > & | center0 | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
void libMesh::PolymerChain::print_info | ( | ) | const |
void libMesh::PolymerChain::read_data | ( | const std::string & | filename | ) |
void libMesh::PolymerChain::read_data_csv | ( | const std::string & | filename | ) |
void libMesh::PolymerChain::read_data_pizza | ( | const std::string & | filename | ) |
void libMesh::PolymerChain::read_data_vtk | ( | const std::string & | filename | ) |
void libMesh::PolymerChain::read_pbc_count | ( | ) |
Point libMesh::PolymerChain::spring_vector | ( | const unsigned int | i | ) | const |
void libMesh::PolymerChain::write_bead | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const Real & | real_time, | ||
const std::vector< Point > & | center0, | ||
const std::vector< Real > & | lvec, | ||
const std::vector< std::string > & | output_file, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_bead_com | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_bead_msd | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Point > & | center0, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_bead_trajectory | ( | const unsigned int & | o_step, |
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_chain | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const Real & | real_time, | ||
const std::vector< Point > & | center0, | ||
const std::vector< Real > & | lvec, | ||
std::vector< std::string > & | output_file, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_com | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_msd | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Point > & | center0, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_rog | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_stretch | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const std::vector< Real > & | lvec, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_polymer_trajectory | ( | const unsigned int & | o_step, |
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_time | ( | const unsigned int & | step_id, |
const unsigned int & | o_step, | ||
const Real & | real_time, | ||
unsigned int | comm_in_rank | ||
) | const |
void libMesh::PolymerChain::write_unfolded_com | ( | const std::string & | filename | ) | const |
void libMesh::PolymerChain::write_unfolded_polymer_chain | ( | const std::string & | filename | ) | const |