📄 node.h
字号:
// Node.h: interface for the CNode class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_NODE_H__6AF5D3A0_55B3_11D5_B917_444553540000__INCLUDED_)
#define AFX_NODE_H__6AF5D3A0_55B3_11D5_B917_444553540000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CNode
{
public:
int GetNum();
void OutputSupportReaction(ofstream& fout,const double* adLoadVector);
void Initial();
int GetType(int iNode);
void SetCurCoordinate(double* adNodeDisp);
void SetConstrainedNodeDescription(int iNode,int iIsFixedX,int iIsFixedY,int iIsFixedR);
void OutputConstrainedNodeDescription(ofstream& fout);
int GetXDOFIndex(int iNode);
int GetYDOFIndex(int iNode);
int GetRDOFIndex(int iNode);
int GetFreeDOF();
int GetTotalDOF();
double GetY(int iIndex);
double GetX(int iIndex);
double GetCurX(int iIndex);
double GetCurY(int iIndex);
double GetCurR(int iIndex);
void SetNodeX(int iIndex, double dX);
void SetNodeY(int iIndex, double dY);
void SetType(int iIndex,int iType);
void CalcuDOFIndex();
void SetNum(int nNode);
CNode();
virtual ~CNode();
private:
int m_nTotalDOF,m_nFreeDOF;
CUIntArray m_aiConstrainedNode;
CByteArray m_aiIsFixedX;
CByteArray m_aiIsFixedY;
CByteArray m_aiIsFixedR;
CArray<double,double&> m_adX,m_adY;
CArray<double,double&> m_adCurX,m_adCurY,m_adCurR;
CArray<int,int&> m_aiXDOFIndex,m_aiYDOFIndex,m_aiRDOFIndex;
CByteArray m_aiType;
int m_nNode;
};
#endif // !defined(AFX_NODE_H__6AF5D3A0_55B3_11D5_B917_444553540000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -