mirror of
https://github.com/gwm17/catima.git
synced 2024-11-23 02:38:51 -05:00
22 lines
494 B
C++
22 lines
494 B
C++
#include "catima/catima.h"
|
|
#include <iostream>
|
|
|
|
using std::cout;
|
|
using std::endl;
|
|
|
|
|
|
int main(){
|
|
catima::Material graphite = catima::get_material(6);
|
|
catima::Material P10 = catima::get_material(catima::material::P10);
|
|
|
|
cout<<"Material info"<<endl;
|
|
cout<<"Molar Mass = "<<graphite.M()<<endl;
|
|
cout<<"density = "<<graphite.density()<<endl;
|
|
|
|
cout<<"Material info"<<endl;
|
|
cout<<"Molar Mass = "<<P10.M()<<endl;
|
|
cout<<"density = "<<P10.density()<<endl;
|
|
|
|
return 0;
|
|
}
|