<div dir="ltr">Dear Ian<div><br></div><div>It works. Thanks for your helping.<br><div class="gmail_extra"><br></div><div class="gmail_extra">Best,</div><div class="gmail_extra">Alan,</div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-13 21:09 GMT+08:00 Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de">ian.hinder@aei.mpg.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><div>On 13 Mar 2017, at 04:55, 彭兆宏 <<a href="mailto:alanpeng1995@gmail.com">alanpeng1995@gmail.com</a>> wrote:</div><br class="m_-8982270817542764694Apple-interchange-newline"><blockquote type="cite"><div><div class="gmail_quote"><div><br></div><br><div class="m_-8982270817542764694gmail_msg">Dear Ian,<div class="m_-8982270817542764694gmail_msg"><br class="m_-8982270817542764694gmail_msg"></div><div class="m_-8982270817542764694gmail_msg"><span style="color:rgb(20,20,20);font-family:verdana,arial,tahoma,calibri,geneva,sans-serif;font-size:13.3333px;background-color:rgb(252,252,255)" class="m_-8982270817542764694gmail_msg">Sorry for the delay in replying your letter. The following attachment is my parameter file. I only changed </span><span style="color:rgb(20,20,20);font-family:verdana,arial,tahoma,calibri,geneva,sans-serif;font-size:13.3333px;background-color:rgb(252,252,255)" class="m_-8982270817542764694gmail_msg">the </span></div><div class="m_-8982270817542764694gmail_msg"><span style="color:rgb(20,20,20);font-family:verdana,arial,tahoma,calibri,geneva,sans-serif;font-size:13.3333px;background-color:rgb(252,252,255)" class="m_-8982270817542764694gmail_msg"><br class="m_-8982270817542764694gmail_msg"></span></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">ReflectionSymmetry::<wbr>reflection_z = "no", </span></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">CarpetRegrid2::symmetry_<wbr>rotating180 = "no", </span></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">CoordBase::xmin = -120, </span></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">CoordBase::zmin = -120,</span></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">TwoPunctures::par_S_plus [2] = 0.10000</span><br class="m_-8982270817542764694gmail_msg"></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">TwoPunctures::par_S_minus[0] = 0.10000</span><br class="m_-8982270817542764694gmail_msg"></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg"><br class="m_-8982270817542764694gmail_msg"></span></font></div><div class="m_-8982270817542764694gmail_msg"><font color="#141414" face="verdana, arial, tahoma, calibri, geneva, sans-serif" class="m_-8982270817542764694gmail_msg"><span style="font-size:13.3333px" class="m_-8982270817542764694gmail_msg">Which parameters need to be changed when I used this setup?</span></font></div></div></div></div></blockquote><div><br></div></span><div>Hi Alan,</div><div><br></div><div>When I run your parameter file, it gives the error</div><div><br></div><div><div style="margin:0px;font-family:Menlo">ERROR from host c579.vc-a process 0</div><div style="margin:0px;font-family:Menlo"> while executing schedule bin BoundaryConditions, routine RotatingSymmetry180::Rot180_<wbr>ApplyBC</div><div style="margin:0px;font-family:Menlo"> in thorn RotatingSymmetry180, file /home/ianhin/Cactus/<wbr>EinsteinToolkitGit/<wbr>arrangements/CactusNumerical/<wbr>RotatingSymmetry180/src/<wbr>rotatingsymmetry180.c:355:</div><div style="margin:0px;font-family:Menlo"> -> The group "ML_BSSN::ML_LOG_CONFAC" has in the x-direction 63 symmetry points (grid points outside of the symmetry boundary). This is not equal to the number of ghost zones, which is 3. The number of symmetry points must be equal to the number of ghost zones.</div><div><br></div><div>The problem is that you are running with the RotatingSymmetry180 thorn active, and it is trying to apply this symmetry. RotatingSymmetry180 behaves differently to ReflectionSymmetry. ReflectionSymmetry has parameters to enable and disable the symmetry in the different directions, whereas RotatingSymmetry180 only supports a single symmetry direction (a rotation of 180 degrees about the z axis), and so does not have any similar parameters. Activating the thorn is sufficient to activate the symmetry. Since you have </div><div><br></div><div><div>CoordBase::xmin =-120.00</div></div><div><br></div><div>it thinks that all the points between -120 and 0 are symmetry points, which is not correct, so it gives the error.</div><div><br></div><div>The fix is to remove RotatingSymmetry180 from ActiveThorns on line 34. With this change, the parameter file runs for me.</div><div><br></div><div>PS: May I give you some advice? When asking for help to solve an unknown problem such as this, the speed and quality of the help you get back is directly related to how much information you provide. For example, if you had sent the parameter file and the error message that you got with your original email, then someone familiar with the code would have seen the error message and realised that the problem was related to RotatingSymmetry180. Since you were trying to run without that symmetry, they would have then told you to make sure it was not active. They probably would not even have had to try to reproduce the problem. I think you would have got the answer much more quickly that way.</div><div><br></div></div></div><span class=""><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>-- </div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/<wbr>ianhin</a></div></div></div></div></div>
</div>
<br></span></div></blockquote></div><br></div></div></div>