📄 materiala.cpp
字号:
// MaterialA.cpp: implementation of the CMaterialA class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "fstream.h"
#include "BaseMaterial.h"
#include "MaterialA.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CMaterialA::CMaterialA()
{
}
CMaterialA::~CMaterialA()
{
}
double CMaterialA::GetE()
{
return m_dE0;
}
void CMaterialA::OutputParameter(ofstream &fout)
{
fout<<"材料类型: A 初始弹性模量:"<<m_dE0
<<" 材料容重: "<<m_dDensity<<endl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -