GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
GranOO3::DEM::Plate Class Reference

#include <Plate.hpp>

Inheritance diagram for GranOO3::DEM::Plate:
Inheritance graph
[legend]

Public Member Functions

 Plate (Element &de1, Element &de2, Element &de3)
 
virtual ~Plate ()
 
virtual void draw ()
 
virtual std::string info () const
 
virtual void compute_load ()
 
void apply_load ()
 
void apply_damping_factor ()
 
void disable ()
 
bool is_disabled () const
 
virtual std::ostream & write_ascii (std::ostream &out) const
 
- Public Member Functions inherited from GranOO3::Core::Base
virtual ~Base ()
 
size_t numID () const
 
size_t uID () const
 
void set_numID (size_t val)
 
void clear_numID ()
 
Physic::Materialget_mat () const
 
void set_mat (Physic::Material *)
 
Baseitem ()
 
const Baseitem () const
 
bool is_same (const Base &) const
 
template<class T >
T & cast_to ()
 
template<class T >
const T & cast_to () const
 
template<class T >
bool is () const
 
virtual bool is (size_t) const
 
virtual const std::string & get_ID () const
 
virtual Baseclone ()
 
template<class T >
T & clone_to ()
 
virtual std::istream & read_ascii (std::istream &in)
 
virtual std::ostream & export_to_povray (std::ostream &out) const
 
Signal< Base & > & deleted_signal ()
 
- Public Member Functions inherited from GranOO3::Core::Null
 Null ()
 
virtual ~Null ()
 
- Public Member Functions inherited from GranOO3::Core::Drawable
 Drawable ()
 
virtual ~Drawable ()
 
virtual void draw_edge ()
 
virtual void init_default_color ()
 
virtual std::ostream & get_info (std::ostream &os) const
 
virtual const Colordefault_color () const
 
Colorget_color ()
 
const Colorget_color () const
 
virtual void set_color (const Color &)
 
virtual void set_alpha (float alpha)
 
void apply_color () const
 
void apply_edge_color () const
 
void apply_default_color ()
 
void apply_selected_color ()
 
void set_line_width (float)
 
float get_line_width () const
 
float & get_line_width ()
 
void apply_line_width () const
 
bool is_visible () const
 
void set_visible (bool)
 
void paint ()
 
void paint_edge ()
 
unsigned int get_item_glkey () const
 
- Public Member Functions inherited from GranOO3::Core::Register< Base >
 Register ()
 
virtual ~Register ()
 
void erase_from_all_setof ()
 
bool belong_to_setof (const std::string &setOfId) const
 
bool belong_to_setof (const SetOf< Base > &set) const
 
std::list< SetOf< Base > * > & get_setof_list ()
 
unsigned long long int get_numeric_ID () const
 
- Public Member Functions inherited from GranOO3::Core::Register< Plate >
 Register ()
 
virtual ~Register ()
 
void erase_from_all_setof ()
 
bool belong_to_setof (const std::string &setOfId) const
 
bool belong_to_setof (const SetOf< Plate > &set) const
 
std::list< SetOf< Plate > * > & get_setof_list ()
 
unsigned long long int get_numeric_ID () const
 

Protected Attributes

Element_element1
 
Element_element2
 
Element_element3
 
Geom::Vector _force_on1
 
Geom::Vector _force_on2
 
Geom::Vector _force_on3
 
Geom::Vector _torque_on2
 
Geom::Vector _torque_on1
 
Geom::Vector _torque_on3
 

Private Member Functions

 Plate ()=delete
 
 Plate (const Plate &)=delete
 
Plateoperator= (const Plate &)=delete
 
template<class Archive >
void serialize (Archive &, const unsigned int)
 

Private Attributes

bool _disabled
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Static Public Member Functions inherited from GranOO3::Core::Base
static Baseget_by_numID (size_t)
 
static void clear_all_numID ()
 
static unsigned int get_sub_class_number ()
 
- Static Public Member Functions inherited from GranOO3::Core::Drawable
static Drawableget_drawable_item_by_glkey (int)
 
static void set_draw_precision (unsigned int p)
 
static void increase_draw_precision ()
 
static void decrease_draw_precision ()
 
static unsigned int get_draw_precision ()
 
- Static Public Attributes inherited from GranOO3::Core::Null
static Null null = Null()
 
- Protected Member Functions inherited from GranOO3::Core::Base
 Base ()
 
- Static Protected Member Functions inherited from GranOO3::Core::Base
static unsigned int affect_class_rank_ID ()
 

Constructor & Destructor Documentation

◆ Plate() [1/3]

GranOO3::DEM::Plate::Plate ( Element de1,
Element de2,
Element de3 
)

◆ ~Plate()

GranOO3::DEM::Plate::~Plate ( )
virtual

◆ Plate() [2/3]

GranOO3::DEM::Plate::Plate ( )
privatedelete

◆ Plate() [3/3]

GranOO3::DEM::Plate::Plate ( const Plate )
privatedelete

Member Function Documentation

◆ apply_damping_factor()

void GranOO3::DEM::Plate::apply_damping_factor ( )

◆ apply_load()

void GranOO3::DEM::Plate::apply_load ( )

◆ compute_load()

void GranOO3::DEM::Plate::compute_load ( )
virtual

◆ disable()

void GranOO3::DEM::Plate::disable ( )

◆ draw()

void GranOO3::DEM::Plate::draw ( )
virtual

Reimplemented from GranOO3::Core::Drawable.

◆ info()

std::string GranOO3::DEM::Plate::info ( ) const
virtual

Reimplemented from GranOO3::Core::Base.

◆ is_disabled()

bool GranOO3::DEM::Plate::is_disabled ( ) const

◆ operator=()

Plate& GranOO3::DEM::Plate::operator= ( const Plate )
privatedelete

◆ serialize()

template<class Archive >
void GranOO3::DEM::Plate::serialize ( Archive &  ,
const unsigned int   
)
private

◆ write_ascii()

std::ostream & GranOO3::DEM::Plate::write_ascii ( std::ostream &  out) const
virtual

Reimplemented from GranOO3::Core::Base.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ _disabled

bool GranOO3::DEM::Plate::_disabled
private

◆ _element1

Element* GranOO3::DEM::Plate::_element1
protected

◆ _element2

Element* GranOO3::DEM::Plate::_element2
protected

◆ _element3

Element* GranOO3::DEM::Plate::_element3
protected

◆ _force_on1

Geom::Vector GranOO3::DEM::Plate::_force_on1
protected

◆ _force_on2

Geom::Vector GranOO3::DEM::Plate::_force_on2
protected

◆ _force_on3

Geom::Vector GranOO3::DEM::Plate::_force_on3
protected

◆ _torque_on1

Geom::Vector GranOO3::DEM::Plate::_torque_on1
protected

◆ _torque_on2

Geom::Vector GranOO3::DEM::Plate::_torque_on2
protected

◆ _torque_on3

Geom::Vector GranOO3::DEM::Plate::_torque_on3
protected

The documentation for this class was generated from the following files: