Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61571309
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 7, 12:53
Size
446 B
Mime Type
text/x-c++
Expires
Thu, May 9, 12:53 (2 d)
Engine
blob
Format
Raw Data
Handle
17217808
Attached To
R9484 sp4e-homework-lars-bertil
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