#include <EnergyBalance.hpp>
|
| | EnergyBalance () |
| |
| | ~EnergyBalance () |
| |
| void | enable () |
| |
| void | disable () |
| |
| bool | is_enable () const |
| |
| void | clear () |
| |
| template<typename T > |
| void | clear_map (T &map) |
| |
| void | add_force_on (const Node &, const std::string &label, const Geom::Vector &force) |
| |
| void | add_torque_on (const Body &, const std::string &label, const Geom::Vector &torque) |
| |
| void | collect_interaction_force (const NodeInteraction &inter, const std::map< std::string, Geom::Vector > &map_forceOn1, const std::map< std::string, Geom::Vector > &map_forceOn2) |
| |
| void | collect_interaction_torque (const BodyInteraction &inter, const std::map< std::string, Geom::Vector > &map_torque_on1, const std::map< std::string, Geom::Vector > &map_torque_on2) |
| |
| double | compute_kinetic_energy () const |
| |
| void | update () |
| |
| std::vector< double > | value () const |
| |
| std::vector< std::string > | label () const |
| |
| const std::map< std::string, double > & | get_energy () const |
| |
| const std::map< std::string, double > & | get_energy_for (const Node &) const |
| |
| const std::map< std::string, double > & | get_energy_for (const NodeInteraction &) const |
| |
| double | get_total_energy_for (const Node &) const |
| |
| double | get_total_energy_for (const NodeInteraction &) const |
| |
| void | manage_disabled_interaction (const NodeInteraction &inter) |
| |
|
| std::map< const Node *, std::map< std::string, Geom::Vector > > | _force |
| |
| std::map< const Body *, std::map< std::string, Geom::Vector > > | _torque |
| |
| std::map< const NodeInteraction *, const std::map< std::string, Geom::Vector > * > | _force_on1 |
| |
| std::map< const NodeInteraction *, const std::map< std::string, Geom::Vector > * > | _force_on2 |
| |
| std::map< const BodyInteraction *, const std::map< std::string, Geom::Vector > * > | _torque_on1 |
| |
| std::map< const BodyInteraction *, const std::map< std::string, Geom::Vector > * > | _torque_on2 |
| |
| std::map< const Node *, std::map< std::string, double > > | _node_energy |
| |
| std::map< const NodeInteraction *, std::map< std::string, double > > | _interaction_energy |
| |
| std::map< std::string, double > | _total_energy |
| |
| bool | _enable |
| |
◆ EnergyBalance() [1/2]
| GranOO3::Physic::EnergyBalance::EnergyBalance |
( |
| ) |
|
◆ ~EnergyBalance()
| GranOO3::Physic::EnergyBalance::~EnergyBalance |
( |
| ) |
|
◆ EnergyBalance() [2/2]
| GranOO3::Physic::EnergyBalance::EnergyBalance |
( |
const EnergyBalance & |
| ) |
|
|
privatedelete |
◆ add_force_on()
| void GranOO3::Physic::EnergyBalance::add_force_on |
( |
const Node & |
part, |
|
|
const std::string & |
label, |
|
|
const Geom::Vector & |
force |
|
) |
| |
◆ add_torque_on()
| void GranOO3::Physic::EnergyBalance::add_torque_on |
( |
const Body & |
body, |
|
|
const std::string & |
label, |
|
|
const Geom::Vector & |
torque |
|
) |
| |
◆ clear()
| void GranOO3::Physic::EnergyBalance::clear |
( |
| ) |
|
◆ clear_map()
template<typename T >
| void GranOO3::Physic::EnergyBalance::clear_map |
( |
T & |
map | ) |
|
◆ collect_interaction_force()
| void GranOO3::Physic::EnergyBalance::collect_interaction_force |
( |
const NodeInteraction & |
inter, |
|
|
const std::map< std::string, Geom::Vector > & |
map_forceOn1, |
|
|
const std::map< std::string, Geom::Vector > & |
map_forceOn2 |
|
) |
| |
◆ collect_interaction_torque()
| void GranOO3::Physic::EnergyBalance::collect_interaction_torque |
( |
const BodyInteraction & |
inter, |
|
|
const std::map< std::string, Geom::Vector > & |
map_torque_on1, |
|
|
const std::map< std::string, Geom::Vector > & |
map_torque_on2 |
|
) |
| |
◆ compute_kinetic_energy()
| double GranOO3::Physic::EnergyBalance::compute_kinetic_energy |
( |
| ) |
const |
◆ disable()
| void GranOO3::Physic::EnergyBalance::disable |
( |
| ) |
|
◆ enable()
| void GranOO3::Physic::EnergyBalance::enable |
( |
| ) |
|
◆ get_energy()
| const std::map< std::string, double > & GranOO3::Physic::EnergyBalance::get_energy |
( |
| ) |
const |
◆ get_energy_for() [1/2]
| const std::map< std::string, double > & GranOO3::Physic::EnergyBalance::get_energy_for |
( |
const Node & |
part | ) |
const |
◆ get_energy_for() [2/2]
| const std::map< std::string, double > & GranOO3::Physic::EnergyBalance::get_energy_for |
( |
const NodeInteraction & |
inter | ) |
const |
◆ get_total_energy_for() [1/2]
| double GranOO3::Physic::EnergyBalance::get_total_energy_for |
( |
const Node & |
part | ) |
const |
◆ get_total_energy_for() [2/2]
| double GranOO3::Physic::EnergyBalance::get_total_energy_for |
( |
const NodeInteraction & |
inter | ) |
const |
◆ is_enable()
| bool GranOO3::Physic::EnergyBalance::is_enable |
( |
| ) |
const |
◆ label()
| std::vector< std::string > GranOO3::Physic::EnergyBalance::label |
( |
| ) |
const |
◆ manage_disabled_interaction()
| void GranOO3::Physic::EnergyBalance::manage_disabled_interaction |
( |
const NodeInteraction & |
inter | ) |
|
◆ operator=()
◆ update()
| void GranOO3::Physic::EnergyBalance::update |
( |
| ) |
|
◆ value()
| std::vector< double > GranOO3::Physic::EnergyBalance::value |
( |
| ) |
const |
◆ _enable
| bool GranOO3::Physic::EnergyBalance::_enable |
|
private |
◆ _force
| std::map<const Node*, std::map<std::string, Geom::Vector> > GranOO3::Physic::EnergyBalance::_force |
|
private |
◆ _force_on1
◆ _force_on2
◆ _interaction_energy
| std::map<const NodeInteraction*, std::map<std::string, double> > GranOO3::Physic::EnergyBalance::_interaction_energy |
|
private |
◆ _node_energy
| std::map<const Node*, std::map<std::string, double> > GranOO3::Physic::EnergyBalance::_node_energy |
|
private |
◆ _torque
| std::map<const Body*, std::map<std::string, Geom::Vector> > GranOO3::Physic::EnergyBalance::_torque |
|
private |
◆ _torque_on1
◆ _torque_on2
◆ _total_energy
| std::map<std::string, double> GranOO3::Physic::EnergyBalance::_total_energy |
|
private |
The documentation for this class was generated from the following files: