[Carpet] Saving memory

Ian Hinder hinder at gravity.psu.edu
Fri Mar 7 03:10:18 CET 2008


Erik Schnetter wrote:
> On Apr 21, 2006, at 05:14:03, Ian Hawke wrote:
>> It is already possible to choose the prolongation method at runtime by
>> choice of parameter. In order to do this you set, e.g.,
>>
>> tags='ProlongationParameter="Whisky::Whisky_Prolongation"'
>>
>> in the interface.ccl for the appropriate groups, and then have the
>> appropriate parameter
>>
>> # Prolongation by Carpet etc.
>>
>> STRING Whisky_Prolongation "The prolongation operator used by Carpet"
>> {
>>   "ENO"  :: "Second order ENO operators"
>>   "TVD"  :: "Second order TVD operator - does not work well"
>>   "WENO" :: "Fifth order WENO operators"
>>   ".*"   :: "Anything else"
>> } "ENO"
>>
>> in the parameter.ccl. I believe it has to be a string, not a keyword,
>> but am not sure.
>>
>> This modification would be the simplest way to work; Bela would then
>> specify prolongation="none" for the ADMBase variables in the parameter
>> file.
> 
> Béla,
> 
> the enclosed patch for ADMBase should do just this.  After applying it,
> you have to set
> 
> ADMBase::prolongation_type = "none"
> 
> in your parameter file.  Can you try this and tell me whether it works?

Can this patch be applied to CVS?  It will be very useful as the new
default in Carpet for enable_all_storage is "no".

-- 
Ian Hinder
hinder at gravity.psu.edu
http://www.gravity.psu.edu/~hinder


More information about the developers mailing list