another getdp problem
    Christophe Geuzaine 
    Christophe.Geuzaine at ulg.ac.be
       
    Mon Sep 25 16:12:32 CEST 2000
    
    
  
Samuel Kvasnica wrote:
> 
> Well,  another small problem:
> 
> I'd like either to use  something like Galerkin { [ mynu[{d a}] * Unit[Dof{d a}], {d a} ]  ; in
> formulation but don't know how, or define mynu[$1] as constant if $1 < 1e-30 and as a function of $1
> if $1>=1e-30. But also don't know how to do it. Please give me a hint.
> 
I would do something like
constant = 1 ;
function[] = #1^3 ;
mynu[] = ($1#1 < 1e-30) ? constant : function[] ;
-- 
Christophe Geuzaine
Tel: +32-(0)4-366.37.10    mailto:Christophe.Geuzaine at ulg.ac.be
Fax: +32-(0)4-366.29.10    http://www.geuz.org