Skip to content
Snippets Groups Projects
Commit 55222bd8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Use natural (positive) convention for impedance calculation

parent 54d9f00b
No related branches found
No related tags found
No related merge requests found
......@@ -130,8 +130,7 @@ Function {
eta0 = 120*Pi ; // eta0 = Sqrt(mu0/eps0)
// FIXME: CG "Y[]" should be 0 in 3D !?
dR[] = (Flag_3Dmodel) ? Unit[ Vector[Sin[Atan2[Z[],X[]]#1], Y[], -Cos[#1]] ] : Vector[0,0,-1] ;
dR[] = (Flag_3Dmodel) ? Unit[ Vector[Sin[Atan2[Z[],X[]]#1], 0, Cos[#1]] ] : Vector[0,0,1] ;
V0 = 1. ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment