diff --git a/FDTD/operator_cylinder.cpp b/FDTD/operator_cylinder.cpp index 5beaf56..02571c8 100644 --- a/FDTD/operator_cylinder.cpp +++ b/FDTD/operator_cylinder.cpp @@ -112,7 +112,10 @@ bool Operator_Cylinder::SetGeometryCSX(ContinuousStructure* geo) } else if (minmaxA>2*PI) {cerr << "Operator_Cylinder::SetGeometryCSX: Alpha Max-Min must not be larger than 2*PI!!!" << endl; Reset(); return false;} - else CC_closedAlpha=false; + else + { + CC_closedAlpha=false; + } if (discLines[0][0]<0) {cerr << "Operator_Cylinder::SetGeometryCSX: r<0 not allowed in Cylinder Coordinates!!!" << endl; Reset(); return false;} @@ -143,12 +146,13 @@ int Operator_Cylinder::CalcECOperator() { double C=0; double G=0; - for (pos[1]=0;pos[1]