28 Feb
                
                    2019
                
            
            
                28 Feb
                
                '19
                
            
            
            
        
    
                6:45 p.m.
            
        On 28 Feb 2019, at 10:36, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
Thanks!
I also need to stop pullbacks from being applied, how do I do that?
What we actually need is to be able to replace J uhat/det J with J P(uhat)/det J where P is the projection onto a vector in local coordinates, probably it is easiest to just hand write the whole expression as it should appear after pullback.
I you write everything after pullback, you might be able to get away with editing tsfc/ufl_utils.py to set do_apply_function_pullbacks=False. I'm hope that will work. Lawrence