← Back to team overview

dolfin team mailing list archive

[Question #102159]: user-defined vector valued function

 

New question #102159 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/102159

Given a function u (u=Function(V) where V = FunctionSpace(mesh, "CG", 1)) I want to define an operator/function that returns sigma(grad(u)) where sigma_1(a,b) = a and sigma_2(a,b) = 2(b^2-1)b.  

I then want to include "sigma" in the following

L = dot(sigma(grad(uold)),grad(v))*dx



-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups