29 lines
973 B
C++
29 lines
973 B
C++
// MediumR.h: interface for the CMediumR class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMR_H__E1740161_F0C0_4B2C_9EAD_E91BFA2A5A24__INCLUDED_)
|
|
#define AFX_MEDIUMR_H__E1740161_F0C0_4B2C_9EAD_E91BFA2A5A24__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumR : public CMedium //DIPOLE
|
|
{
|
|
public:
|
|
CMediumR(int iAR);
|
|
virtual ~CMediumR();
|
|
bool GenerateSptRecElecVal(int iEAmount, int* pMaxLevel, int* pPtAmount, CPtrArray* pSptRecArray);
|
|
void CalculateSptPtLoc(int iMul, CSptRecord* pSptRecord);
|
|
int GenSptRecLevel(int iA, int iB, int iM, int iN);
|
|
int GenSptRecPosInLevel(int iA, int iB, int iM, int iN);
|
|
int GetMaxLevelByEAmount(int iEAmount);
|
|
float CalculateDepth(float fA, float fFactor = 0.5);
|
|
float CalculateCESptKVal(float fA, float fB, float fX, float fY);
|
|
};
|
|
|
|
#endif // !defined(AFX_MEDIUMR_H__E1740161_F0C0_4B2C_9EAD_E91BFA2A5A24__INCLUDED_)
|