Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63130926
set_units.hpp
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
Fri, May 17, 23:33
Size
433 B
Mime Type
text/x-c
Expires
Sun, May 19, 23:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17735443
Attached To
rSPECMICP SpecMiCP / ReactMiCP
set_units.hpp
View Options
#ifndef SPECMICP_CYTHON_SETUNITS
#define SPECMICP_CYTHON_SETUNITS
#include "physics/units.hpp"
namespace specmicp {
namespace units {
inline void set_meter(LengthUnit& length) {length = LengthUnit::meter;}
inline void set_decimeter(LengthUnit& length) {length = LengthUnit::decimeter;}
inline void set_centimeter(LengthUnit& length) {length = LengthUnit::centimeter;}
} // end namespace units
} // end namespace specmicp
#endif
Event Timeline
Log In to Comment