Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87324782
compute_potential_energy.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
Sat, Oct 12, 00:25
Size
1 KB
Mime Type
text/x-c++
Expires
Mon, Oct 14, 00:25 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21494421
Attached To
R9490 Homework_sp4e_Peruzzo_SáezUribe
compute_potential_energy.hh
View Options
#ifndef __COMPUTE_POTENTIAL_ENERGY__HH__
#define __COMPUTE_POTENTIAL_ENERGY__HH__
/* -------------------------------------------------------------------------- */
#include "compute_energy.hh"
#include "compute_interaction.hh"
/* -------------------------------------------------------------------------- */
//! Compute potential energy of system
class
ComputePotentialEnergy
:
public
ComputeEnergy
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
ComputePotentialEnergy
(
ComputeInteraction
&
cForces
);
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
void
compute
(
System
&
system
)
override
;
/* ------------------------------------------------------------------------ */
/* Members */
/* ------------------------------------------------------------------------ */
protected
:
ComputeInteraction
&
cForces
;
};
/* -------------------------------------------------------------------------- */
#endif
//__COMPUTE_POTENTIAL_ENERGY__HH__
Event Timeline
Log In to Comment