Package sfc :: Package representation :: Module swiginac_eval :: Class SwiginacEvaluator
[hide private]
[frames] | no frames]

Class SwiginacEvaluator

source code


Algorithm for evaluation of an UFL expression as a swiginac expression.

Instance Methods [hide private]
 
__init__(self, formrep, use_symbols, on_facet) source code
 
pop_tokens(self) source code
 
update(self, iota) source code
 
component(self)
Return current component tuple.
source code
 
expr(self, x) source code
 
terminal(self, x) source code
 
zero(self, x) source code
 
scalar_value(self, x) source code
 
identity(self, x) source code
 
argument(self, x) source code
 
coefficient(self, x) source code
 
facet_normal(self, x) source code
 
spatial_coordinate(self, x) source code
 
variable(self, x) source code
 
garbage(self, x) source code
 
sum(self, x, *ops) source code
 
index_sum(self, x) source code
 
product(self, x) source code
 
division(self, x, a, b) source code
 
power(self, x, a, b) source code
 
abs(self, x, a) source code
 
sqrt(self, x, y) source code
 
exp(self, x, y) source code
 
ln(self, x, y) source code
 
cos(self, x, y) source code
 
sin(self, x, y) source code
 
multi_index(self, x) source code
 
indexed(self, x) source code
 
old_list_tensor(self, x) source code
 
list_tensor(self, x) source code
 
component_tensor(self, x) source code
 
_ddx(self, f, i)
Differentiate swiginac expression f w.r.t.
source code
 
spatial_derivative(self, x) source code
 
derivative(self, x) source code
 
positive_restricted(self, x, y) source code
 
negative_restricted(self, x, y) source code
Method Details [hide private]

_ddx(self, f, i)

source code 

Differentiate swiginac expression f w.r.t. x_i, using df/dx_i = df/dxi_j dxi_j/dx_i.