Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65854141
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
Thu, Jun 6, 16:15
Size
446 B
Mime Type
text/x-c++
Expires
Sat, Jun 8, 16:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17910274
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