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

fix dR[] in 3D

parent 5263fac5
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ Function {
eta0 = 120*Pi ; // eta0 = Sqrt(mu0/eps0)
dR[] = (Flag_3Dmodel) ? Unit[ Vector[Sin[Atan2[Z[],X[]]#1], 0, Cos[#1]] ] : Vector[0,0,1] ;
dR[] = (Flag_3Dmodel) ? Unit[ Vector[Cos[Atan2[Z[],X[]]#1], 0, Sin[#1]] /\ Vector[0, 1, 0] ] : 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