Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73856655
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
Wed, Jul 24, 21:20
Size
446 B
Mime Type
text/x-c++
Expires
Fri, Jul 26, 21:20 (2 d)
Engine
blob
Format
Raw Data
Handle
19273138
Attached To
R7554 sp4e_exercices
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