Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91214197
compute_temperature.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
Sat, Nov 9, 01:16
Size
585 B
Mime Type
text/x-c++
Expires
Mon, Nov 11, 01:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22221802
Attached To
R9484 sp4e-homework-lars-bertil
compute_temperature.hh
View Options
#ifndef __COMPUTE_TEMPERATURE__HH__
#define __COMPUTE_TEMPERATURE__HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
//! Compute contact interaction between ping-pong balls
class
ComputeTemperature
:
public
Compute
{
// Virtual implementation
public
:
//! Set time step
void
setDeltaT
(
Real
dt
);
//! Penalty contact implementation
void
compute
(
System
&
system
)
override
;
private
:
Real
dt
;
};
/* -------------------------------------------------------------------------- */
#endif
//__COMPUTE_TEMPERATURE__HH__
Event Timeline
Log In to Comment