Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84427049
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
Sun, Sep 22, 19:52
Size
446 B
Mime Type
text/x-c++
Expires
Tue, Sep 24, 19:52 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19868608
Attached To
R7571 SP4E-TB-TL-FR
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