From 3742478ca97132b9436230af4ae6100551bf0b87 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 16 Mar 2011 12:16:09 +0100 Subject: [PATCH] sorting engine methods and some docu updates --- FDTD/engine.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/FDTD/engine.h b/FDTD/engine.h index 9efb569..16e7b2b 100644 --- a/FDTD/engine.h +++ b/FDTD/engine.h @@ -58,18 +58,27 @@ public: inline virtual void SetCurr( unsigned int n, unsigned int x, unsigned int y, unsigned int z, FDTD_FLOAT value) { curr[n][x][y][z]=value; } inline virtual void SetCurr( unsigned int n, const unsigned int pos[3], FDTD_FLOAT value ) { curr[n][pos[0]][pos[1]][pos[2]]=value; } - virtual void UpdateVoltages(unsigned int startX, unsigned int numX); - virtual void ApplyVoltageExcite(); - virtual void UpdateCurrents(unsigned int startX, unsigned int numX); - virtual void ApplyCurrentExcite(); - + //! Execute Pre-Voltage extension updates virtual void DoPreVoltageUpdates(); + //! Main FDTD engine voltage updates + virtual void UpdateVoltages(unsigned int startX, unsigned int numX); + //! Execute Post-Voltage extension updates virtual void DoPostVoltageUpdates(); + //! Apply extension voltage changes virtual void Apply2Voltages(); + //! Apply voltage excitations + virtual void ApplyVoltageExcite(); + //! Execute Pre-Current extension updates virtual void DoPreCurrentUpdates(); + //! Main FDTD engine current updates + virtual void UpdateCurrents(unsigned int startX, unsigned int numX); + //! Execute Post-Current extension updates virtual void DoPostCurrentUpdates(); + //! Apply extension current changes virtual void Apply2Current(); + //! Apply current excitations + virtual void ApplyCurrentExcite(); inline size_t GetExtensionCount() {return m_Eng_exts.size();} inline Engine_Extension* GetExtension(size_t nr) {return m_Eng_exts.at(nr);}