Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77501198
constituent.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Aug 14, 20:41
Size
757 B
Mime Type
text/x-c++
Expires
Fri, Aug 16, 20:41 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19879761
Attached To
rDLMA Diffusion limited mixed aggregation
constituent.hh
View Options
#include "on_lattice.hh"
#include <vector>
#ifndef CONSTITUENT_H
#define CONSTITUENT_H
namespace simulation{
template <typename type>
class constituent{
public:
virtual void set_mass(const double constituent_mass) {};
virtual double get_mass() {};
virtual void move(type *delta_x) {};
virtual type pos(const int axis) const {};
virtual type& pos(const int axis) {};
virtual type element_pos(const int i, const int axis) const {};
virtual type& element_pos(const int i, const int axis) {};
virtual void add_constituent(constituent *single_element) {};
virtual void add_constituent_to_cell() {};
virtual void remove_constituent_from_cell() {};
};
}
#endif
Event Timeline
Log In to Comment