Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62608454
compute_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
Tue, May 14, 07:51
Size
446 B
Mime Type
text/x-c++
Expires
Thu, May 16, 07:51 (2 d)
Engine
blob
Format
Raw Data
Handle
17217808
Attached To
R7581 SP4E Homework
compute_energy.hh
View Options
#ifndef __COMPUTE_ENERGY__HH__
#define __COMPUTE_ENERGY__HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
//! Base class for energy computation
class
ComputeEnergy
:
public
Compute
{
// Methods
public
:
Real
getValue
()
{
return
value
;
}
protected
:
Real
value
;
};
/* -------------------------------------------------------------------------- */
#endif
//__COMPUTE_ENERGY__HH__
Event Timeline
Log In to Comment