operator extension saves information about cylindrical mesh special case r==0

pull/1/head
Thorsten Liebig 2012-06-06 10:16:55 +02:00
parent f24d5e60fc
commit 8d10970c3c
2 changed files with 4 additions and 0 deletions

View File

@ -23,7 +23,10 @@ Operator_Extension::Operator_Extension(Operator* op)
{
m_Op = op;
m_CC_R0_included = false;
m_Op_Cyl = dynamic_cast<Operator_Cylinder*>(op);
if (m_Op_Cyl)
m_CC_R0_included=m_Op_Cyl->GetR0Included();
}
Operator_Extension::~Operator_Extension()

View File

@ -70,6 +70,7 @@ protected:
//Cylindrical FDTD Operator (not NULL if a cylindrical FDTD is used)
Operator_Cylinder* m_Op_Cyl;
bool m_CC_R0_included;
};
#endif // OPERATOR_EXTENSION_H