diff --git a/FDTD/operator.cpp b/FDTD/operator.cpp index 3c45a16..544514d 100644 --- a/FDTD/operator.cpp +++ b/FDTD/operator.cpp @@ -518,7 +518,7 @@ void Operator::InitOperator() ii = Create_N_3DArray(numLines); } -inline void Operator::Calc_ECOperatorPos(int n, unsigned int* pos) +void Operator::Calc_ECOperatorPos(int n, unsigned int* pos) { unsigned int i = MainOp->SetPos(pos[0],pos[1],pos[2]); vv[n][pos[0]][pos[1]][pos[2]] = (1-dT*EC_G[n][i]/2/EC_C[n][i])/(1+dT*EC_G[n][i]/2/EC_C[n][i]); diff --git a/FDTD/operator.h b/FDTD/operator.h index 5a7aa8d..d5504b7 100644 --- a/FDTD/operator.h +++ b/FDTD/operator.h @@ -109,7 +109,7 @@ protected: unsigned int m_nyquistTS; //! Calc operator at certain pos - virtual inline void Calc_ECOperatorPos(int n, unsigned int* pos); + virtual void Calc_ECOperatorPos(int n, unsigned int* pos); //EC elements, internal only! virtual bool Calc_EC();