[Getdp] [GetDP] Calculation of an Integral quantity

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Apr 24 23:18:38 CEST 2007


Olivier Castany wrote:
> Hello,
> 
>> Yes. Both XS[] and $XS can normally be used, but I recommend using XS[], 
>> as $XS has not been tested and is not guaranteed to be valid in all 
>> expressions.
> 
> If I change $XS into XS[], I always get the error :
> 
> GetDP   : Error ('torus.pro' line 142): Unknown Function: XS

Weird... Maybe XS[] was not defined in the last official release. Can 
you try with the "nightly-source" version? (cf. http://geuz.org/getdp/src/)



> 
>> The "sign reversal" in D_inf comes from the fact that the elements in 
>> your mesh are reversed in that region... Be careful to create your mesh 
>> with normals pointing in the correct direction.
> 
> Well... there is no reason why the result should depend on the 
> orientation of that region...
> 
> but your remark lead me to the solution !!!
> 
> FUCK AN EGG !!! I found my mistake !
> 
> I was using Normal[] instead of NormalSource[] !!!
> 
> Now it works (with $XS...)
> 
> Thanks,
> 
> O.C.
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine