Re: [Users] looking for help with CT_MultiLevel

2016-06-27 Thread Slinker, Kyle Patrick
Thanks again for the reply, Eloisa. I think I'm set now.

Kyle

On 06/24/2016 04:19 PM, Eloisa Bentivegna wrote:
> On 23/06/16 22:06, Slinker, Kyle Patrick wrote:
>> Thanks for the reply, Eloisa.
>>
>> I wasn't thinking of solving the elliptic equation in terms of the
>> stationary state of a parabolic equation as you described in your paper.
>> But, I see now how Gauss-Seidel for the elliptic equation can be derived
>> from finite differencing the parabolic equation. Now that I think I'm on
>> the same page in those terms, let me see if I can rephrase the issue I'm
>> seeing.
>>
>> I tried a couple times to write something, but the best explanation I
>> came up with is an example. I attached a short PDF walking through it.
>>
>> Thanks again for your help.
> Dear Kyle,
>
> I've followed your reasoning, but I don't see where equation (2) comes
> from. To the best of my knowledge, one is not free to construct an
> iterative process by deforming the differencing stencils at will. The
> existing recipes (like Gauss-Seidel) are carefully crafted to have
> specific properties; you can, for instance, read on the Numerical
> Recipes book (equation 20.5.4 and following, in the third edition) what
> dtime needs to be set to for a stable evolution. This has to do with the
> stability of the Forward-Time-Centered-Space representation of the equation.
>
> Notice, however, that what dtime is set to in CT_MultiLevel is only the
> largest admissible value. One is free to decrease this number (although
> that would require more iterations to relax to the same state); your
> suggestion for the coefficient, for instance, would also work. And you
> are right to point out that a change in dtime is equivalent to a change
> in the SOR omega (which, however, also cannot be chosen arbitrarily).
>
> I hope this clarifies the issue!
>
> Eloisa
>

___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users


Re: [Users] looking for help with CT_MultiLevel

2016-06-24 Thread Eloisa Bentivegna
On 23/06/16 22:06, Slinker, Kyle Patrick wrote:
> Thanks for the reply, Eloisa.
> 
> I wasn't thinking of solving the elliptic equation in terms of the
> stationary state of a parabolic equation as you described in your paper.
> But, I see now how Gauss-Seidel for the elliptic equation can be derived
> from finite differencing the parabolic equation. Now that I think I'm on
> the same page in those terms, let me see if I can rephrase the issue I'm
> seeing.
> 
> I tried a couple times to write something, but the best explanation I
> came up with is an example. I attached a short PDF walking through it.
> 
> Thanks again for your help.

Dear Kyle,

I've followed your reasoning, but I don't see where equation (2) comes
from. To the best of my knowledge, one is not free to construct an
iterative process by deforming the differencing stencils at will. The
existing recipes (like Gauss-Seidel) are carefully crafted to have
specific properties; you can, for instance, read on the Numerical
Recipes book (equation 20.5.4 and following, in the third edition) what
dtime needs to be set to for a stable evolution. This has to do with the
stability of the Forward-Time-Centered-Space representation of the equation.

Notice, however, that what dtime is set to in CT_MultiLevel is only the
largest admissible value. One is free to decrease this number (although
that would require more iterations to relax to the same state); your
suggestion for the coefficient, for instance, would also work. And you
are right to point out that a change in dtime is equivalent to a change
in the SOR omega (which, however, also cannot be chosen arbitrarily).

I hope this clarifies the issue!

Eloisa
___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users


Re: [Users] looking for help with CT_MultiLevel

2016-06-23 Thread Slinker, Kyle Patrick
Thanks for the reply, Eloisa.

I wasn't thinking of solving the elliptic equation in terms of the
stationary state of a parabolic equation as you described in your paper.
But, I see now how Gauss-Seidel for the elliptic equation can be derived
from finite differencing the parabolic equation. Now that I think I'm on
the same page in those terms, let me see if I can rephrase the issue I'm
seeing.

I tried a couple times to write something, but the best explanation I
came up with is an example. I attached a short PDF walking through it.

Thanks again for your help.

Kyle

On 06/22/2016 03:41 PM, Eloisa Bentivegna wrote:
> On 22/06/16 16:42, Slinker, Kyle Patrick wrote:
>> I have been working with CT_MultiLevel in an attempt to solve the
>> non-conformally-flat constraint equations and I'm wondering if there is
>> an error in the thorn. Where I'm potentially seeing an issue is in
>> CT_SolvePsiEquation.cc and CT_SolveErrorEquation.cc in the definitions
>> of dtime (for both files this is line 33 in the Brahe release).
>>
>> First of all, having 0.5 in this definition means that the coefficient
>> for the central point in the finite difference is hard-coded to a second
>> order stencil. When using fourth order, this coefficient should be 0.4,
>> I believe. This effectively changes the SOR omega.
>>
>> More importantly, I don't think it accounts for ct_cxx, ct_cyy, or
>> ct_czz. So the central point in the finite difference is not getting
>> multiplied by whatever coefficient the user is setting.
>>
>> Am I misunderstanding how the thorn works or are these really problems?
>> I've attached what I believe is a way to fix them. Thanks for your help.
> Dear Kyle,
>
> thanks for the comments. I am not sure I understand your points though:
> in CT_MultiLevel, fd_order is used to control the approximation order of
> spatial derivatives, while dtime appears in the way the "time"
> derivative is discretized. These two are in principle independent.
>
> Can you clarify which derivative you believe is wrong?
>
> Thanks,
> Eloisa
> ___
> Users mailing list
> Users@einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>

%PDF-1.4
%ÐÔÅØ
3 0 obj <<
/Length 2069  
/Filter /FlateDecode
>>
stream
xÚåZ[Ü¶}ß_¡G-’aÄ;Ù¢@S£)´
oŸ’<È3Z¯íh=ÒÚοÏ!)i¨jfÖ»›-
X—¡Éïr¾ó]äW4+ð‡fšeZP¢©ÍÖ÷W?üTd¼ÿ>+·&ûäWÝgB\›ìíÕ®þvsõÍw&³Ä*¦²›ÛÌ(b…
Èt¡I!lv³É~Èß´Û®ÞT»ëç<ïï*w#òªiꇾ^‡×ՇDz¯ÛíõO7ßó¥Ñž›«²ÕD6ý± Ü­Í4Q…
ÊÑ"üð×°ƒÆ+«¹qHbË8QT†5,qŠ Bg«hя…(ܺ«¿ß\}˜lÄ
%Bà@CIuÊP—J;·ÕìHf)Ë®‚³Qþ•Tùçc-(%’댣Í\
;€)¡«…lƒE‘P×ÝqÈ6¬áÃ^±/5±ÔŒKþr½bÚä©­¨$Âêq៎7¢°•z:MQï¿ä%
¦g”°A±ÿvõöý\¶m¿#I¯s¿aQ™‚ƒ#ÿnÃñð™4ÙJV§×Ç"…é¥å£9v(ˆ¤êXŒx£ 
EdˆÄ>ƚ´éªpȃˆVDºl¯0žE‹þ|½¢JÐšíÑ)€o™°'œêxGçįƒŸ>]3Wá~]nÃͦ
¾+Ã#bVlë~Xµ©]W»j»®â3K€¾.
‡¦b^^ؗõ9åÑ¿F¤Q»÷ÕFzvc“;i"Q`¬8û}ÌR4¦ÙÉzÂaŠÍPŒ}؄­¯hb—¢"¯@àÜ.BRÅ´œóÕy’yé%uèZÂö\fJĜdkp”4v9³1cI°SœúGoÒ!™lës*!)„Ð1“Çç
 ¸
‹"&¿„sFŸ™X"ÑsÁM÷[Íû`¢V`C»_(Z¨¼©ß¹,áh€æ»k
òÂÓ/îG¹',ì[¿®ýyÿ讏]Š(ƒ£´ýíÀÏ΂߂g࿍ê.ÖIæ÷åϑâµ7Š¿õé^õÕ‰íã53㪇³É×U×9z6ïêûº)wó½'ã¸ÂRæØ'´ÃÖím¸þ£|ìºUp"
¼êÐ@¬Æo+Ôgó4¹^   !ò·móqHÁÇx¥@Ù·í.‰A…
X¥$¡âSÐ×)¹)A>ž‘ݍ¼PxúBÔjNQ«¿DÂ?¥ØHŠM)?âVí¸Ujµ(‡öüƒÊTñe†w6M?/ë@óöÙ©XKŧbq.³s©˜=?©Ù³†Ÿ}Ôš´ùaj5'S«æÞ÷W
 õDjEË$}>\H­(ð¯TÂ÷V‹Í
¸Kh ?éÕû¦ðYyú°qœ›+ä]b¶Pê„4b^É´N 
p(ŠÒhsgÆ9WÈyÈÑd±/—;Tç–ò¸Ÿá‰zAMÒÿwëòܧXÖ©ÁÏwUSöÕ&¬y(we¨*Ú&Ì
ÄÉY…Ó-´cΗ‰¾AžŸðfÊ^2,ÐȌVe½-’Ÿ5,Ð^ÈLºÄmì%Ãõû
’™Â¡ 
6¾“=m8îjLpÔ%†cÒvãHïᒰ[â†!­Ça“ºA±ÙC,}(¾}_ÖÛDoü¤ñL˜ˆUƒœ`“h~JêU_˜zÍÿgÌ.ê‚éËvÁê5R5ÂÈ
 eÚaF<«
– 
¨'”™Æu/ÜÏS¾Ë…
Ôs”üŽ:Ê|çú`—ʸ^$3:+0~0ÎLuŒÆËLõd@&*Øú–hàö¼¡¤3X±\)íz*ÞúTWèFöÖS=ß¹L9¨jìzÊ퇞xlÒQ„¤{aiIÁ.ŸU¼N79“å©òý>–3ñG¢Î—ïrEªrTÉY{–ªa^oHR 
,5ZM£Á´ôYS×Ú¢‘ä})Iòƒ5’&1Nt'¸¨a“·-z=Èí|·¢X©ÂýÚÝߕÛ÷ów¹à6_‡9éÔº®¶n]Ö´·k»‡²¯Ë&¼þ*¾¸÷ãç¯ããf&¬û„“P¼pÍýÕ¢³<á$Óü/Ùi\±à$l¥‹ÁIëϟ“£ze§Ì9±ê×$(Toº€¬žþ͛›cU³ð͋¨"8Šƒ‚ÎUù×cÓ×ÿ¬>VͱF’ű8|"wZŐèîÚÇf3à‰¢
*ÄðIf4V„Ç  Á)ÀU{ 
&ßîQÙʼn¦!AÎ}‰=û$ômÓW»í/°•áÎ=Ìè(V€UøÜïnÞ4‡‡®ªükíOuo¦¹ž{ŸUÀ·»yÓ>îÊ1ü¶ívSû1Ÿtõvظ/ßÕMÝ»¥^*&ó7ÎZî£U"7N
£§+8K¨š–ÔéûIOiòJ7øÎSsÛM”¾vv¾+wåƬ»¾^ð_æfÿjiÉåàç¾¾³D_=
wBþ÷黫«NBI(¸]Ýî†
ŒŸ¹¹•k¿H@‘O•Ë¯JW° 
endstream
endobj
2 0 obj <<
/Type /Page
/Contents 3 0 R
/Resources 1 0 R
/MediaBox [0 0 612 792]
/Parent 11 0 R
>> endobj
1 0 obj <<
/Font << /F8 4 0 R /F11 5 0 R /F7 6 0 R /F14 7 0 R /F10 8 0 R /F13 9 0 R /F23 
10 0 R >>
/ProcSet [ /PDF /Text ]
>> endobj
12 0 obj
[525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 
525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 
525 525 525 525 525 525 525 525 525 525 525 525 525 525 525]
endobj
13 0 obj
[892.9]
endobj
14 0 obj
[404.2 472.7 607.3 361.3 1013.7 706.2]
endobj
15 0 obj
[777.8]
endobj
16 0 obj
[877 

Re: [Users] looking for help with CT_MultiLevel

2016-06-22 Thread Eloisa Bentivegna
On 22/06/16 16:42, Slinker, Kyle Patrick wrote:
> I have been working with CT_MultiLevel in an attempt to solve the
> non-conformally-flat constraint equations and I'm wondering if there is
> an error in the thorn. Where I'm potentially seeing an issue is in
> CT_SolvePsiEquation.cc and CT_SolveErrorEquation.cc in the definitions
> of dtime (for both files this is line 33 in the Brahe release).
> 
> First of all, having 0.5 in this definition means that the coefficient
> for the central point in the finite difference is hard-coded to a second
> order stencil. When using fourth order, this coefficient should be 0.4,
> I believe. This effectively changes the SOR omega.
> 
> More importantly, I don't think it accounts for ct_cxx, ct_cyy, or
> ct_czz. So the central point in the finite difference is not getting
> multiplied by whatever coefficient the user is setting.
> 
> Am I misunderstanding how the thorn works or are these really problems?
> I've attached what I believe is a way to fix them. Thanks for your help.

Dear Kyle,

thanks for the comments. I am not sure I understand your points though:
in CT_MultiLevel, fd_order is used to control the approximation order of
spatial derivatives, while dtime appears in the way the "time"
derivative is discretized. These two are in principle independent.

Can you clarify which derivative you believe is wrong?

Thanks,
Eloisa
___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users