25 #include "libmesh/libmesh_common.h" 26 #include "libmesh/reference_counted_object.h" 27 #include "libmesh/point.h" 28 #include "libmesh/id_types.h" 60 const dof_id_type point_id);
65 const dof_id_type point_id,
70 const dof_id_type point_id,
72 const std::vector<Real>& rot_vec);
86 Point&
point() {
return _center; };
94 std::vector<int> &
counter() {
return _counter; };
100 void set_pbc_counter(
int nx,
int ny,
int nz) { _counter[0]=nx; _counter[1]=ny; _counter[2]=nz; };
107 dof_id_type
id()
const {
return _id; };
148 dof_id_type
elem_id()
const {
return _elem_id; };
158 if (nei_list.size() > 0) {
159 _neighbor_list = nei_list;
169 {
return _neighbor_list; };
182 return _neighbor_vector;
222 const std::vector<Real>
orientation()
const {
return _orientation; };
241 void print_info(
const bool & print_neighbor_list =
true)
const;
259 std::vector<int> _counter;
281 dof_id_type _elem_id;
285 std::vector<std::pair<std::size_t,Real> > _neighbor_list;
288 std::vector<Point> _neighbor_vector;
294 std::vector<Real> _orientation;
void set_point_type(const PointType p_type)
Definition: point_particle.h:132
void set_particle_force(const Point &pforce)
Definition: point_particle.C:110
Definition: point_particle.h:42
~PointParticle()
Definition: point_particle.C:102
void add_particle_force(const Point &pforce)
Definition: point_particle.C:119
void set_processor_id(const int pid)
Definition: point_particle.h:140
void set_particle_velocity(const Point &p_velocity)
Definition: point_particle.h:210
const std::vector< Real > orientation() const
Definition: point_particle.h:222
void print_info(const bool &print_neighbor_list=true) const
Definition: point_particle.C:152
Definition: brownian_system.h:58
void set_parent_id(const int pid)
Definition: point_particle.h:120
PointParticle(const Point pt, const dof_id_type point_id)
Definition: point_particle.C:36
std::vector< std::pair< std::size_t, Real > > neighbor_list() const
Definition: point_particle.h:168
void reinit_particle()
Definition: point_particle.C:134
const Point & particle_velocity() const
Definition: point_particle.h:215
const Point & particle_force()
Definition: point_particle.h:205
void set_elem_id(const dof_id_type e_id)
Definition: point_particle.h:149
Point & point()
Definition: point_particle.h:86
Definition: point_particle.h:40
Definition: point_particle.h:43
dof_id_type id() const
Definition: point_particle.h:107
void set_orientation(const std::vector< Real > &rot_vec)
Definition: point_particle.C:146
Definition: point_particle.h:41
std::vector< int > & counter()
Definition: point_particle.h:94
void set_neighbor_vector(std::vector< Point > &neighbor_vector)
Definition: point_particle.h:175
void zero_particle_force()
Definition: point_particle.C:127
void set_pbc_counter(int nx, int ny, int nz)
Definition: point_particle.h:100
const std::vector< Point > neighbor_vector() const
Definition: point_particle.h:181
void set_neighbor_list(const std::vector< std::pair< std::size_t, Real > > &nei_list)
Definition: point_particle.h:156
Point & center()
Definition: point_particle.h:87
Definition: point_particle.h:54
PointType
Definition: point_particle.h:39
dof_id_type elem_id() const
Definition: point_particle.h:148
int parent_id() const
Definition: point_particle.h:119
int processor_id() const
Definition: point_particle.h:139
PointType point_type() const
Definition: point_particle.h:131