|
Data
|
|
float or Symbol
|
L2(arg)
Returns the L2 norm of arg at where. |
|
|
|
float
|
Lsup(arg)
Returns the Lsup-norm of argument arg. |
|
|
|
|
_condEval(...)
_condEval( (Data)mask, (Data)trueval, (Data)falseval) -> Data |
|
|
|
|
_saveDataCSV(...)
Saves data objects passed in a python dictionary to a file. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
acos(arg)
Returns the inverse cosine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
acosh(arg)
Returns the inverse hyperbolic cosine of argument arg. |
|
|
|
escript.Symbol, float, int, escript.Data,
numpy.ndarray
|
add(arg0,
arg1)
Adds arg0 and arg1 together. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
asin(arg)
Returns the inverse sine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
asinh(arg)
Returns the inverse hyperbolic sine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
atan(arg)
Returns inverse tangent of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
atanh(arg)
Returns the inverse hyperbolic tangent of argument arg. |
|
|
|
list of pairs of float
|
boundingBox(domain)
Returns the bounding box of a domain |
|
|
|
numpy.ndarray, escript.Data, Symbol, int or
float depending on the input
|
clip(arg,
minval=None,
maxval=None)
Cuts the values of arg between minval and maxval. |
|
|
|
int or None
|
commonDim(*args)
Identifies, if possible, the spatial dimension across a set of objects
which may or may not have a spatial dimension. |
|
|
|
tuple of int
|
commonShape(arg0,
arg1)
Returns a shape to which arg0 can be extended from the right and arg1
can be extended from the left. |
|
|
|
|
condEval(f,
tval,
fval)
Wrapper to allow non-data objects to be used. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
cos(arg)
Returns cosine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
cosh(arg)
Returns the hyperbolic cosine of argument arg. |
|
|
|
|
delay(arg)
Returns a lazy version of arg |
|
|
|
|
deviatoric(arg)
Returns the deviatoric version of arg. |
|
|
|
float
|
diameter(domain)
Returns the diameter of a domain. |
|
|
|
escript.Data or Symbol
|
div(arg,
where=None)
Returns the divergence of arg at where. |
|
|
|
numpy.ndarray,`escript.Data`, Symbol depending on the
input
|
eigenvalues(arg)
Returns the eigenvalues of the square matrix arg. |
|
|
tuple of escript.Data
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
erf(arg)
Returns the error function erf of argument arg. |
|
|
|
|
escript_generalTensorProduct(arg0,
arg1,
axis_offset,
transpose=0)
arg0 and arg1 are both Data objects but not necessarily on the same function space. |
|
|
|
|
|
|
|
|
|
|
escript_inverse(arg)
arg is a Data object!!! |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
exp(arg)
Returns e to the power of argument arg. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
numpy.ndarray or Symbol
|
getClosestValue(arg,
origin=0)
Returns the value in arg which is closest to origin. |
|
|
|
|
|
|
int :
|
getMPIRankWorld()
Return the rank of this process in the MPI World. |
|
|
|
int
|
|
|
|
|
|
int
|
getRank(arg)
Identifies the rank of the argument. |
|
|
|
tuple of int
|
getShape(arg)
Identifies the shape of the argument. |
|
|
|
list of str
|
getTagNames(domain)
Returns a list of tag names used by the domain. |
|
|
|
int :
|
getVersion()
This method will only report accurate version numbers for clean checkouts. |
|
|
|
escript.Data or Symbol
|
grad(arg,
where=None)
Returns the spatial gradient of arg at where. |
|
|
|
numpy.ndarray of rank 1, rank 2 or rank 4
|
identity(shape=())
Returns the shape x shape identity tensor. |
|
|
|
numpy.ndarray or escript.Data of rank 2
|
|
|
numpy.ndarray or escript.Data of rank 4
|
|
|
float
|
inf(arg)
Returns the minimum value over all data points. |
|
|
|
numpy.ndarray, escript.Data, Symbol, float
depending on the input
|
inner(arg0,
arg1)
Inner product of the two arguments. |
|
|
|
|
|
|
escript.Data
|
insertTaggedValues(target,
**kwargs)
Inserts tagged values into the target using tag names. |
|
|
|
float, numpy.ndarray or Symbol
|
integrate(arg,
where=None)
Returns the integral of the function arg over its domain. |
|
|
|
escript.Data or Symbol
|
|
|
|
| interpolateTable(tab,
dat,
start,
step,
undef=1e+50,
check_boundaries=False) |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
inverse(arg)
Returns the inverse of the square matrix arg. |
|
|
|
escript.Data or Symbol
|
jump(arg,
domain=None)
Returns the jump of arg across the continuity of the domain. |
|
|
|
numpy.ndarray or escript.Data of rank 2
|
kronecker(d=3)
Returns the kronecker delta-symbol. |
|
|
|
float, escript.Data, Symbol depending on the type of arg
|
length(arg)
Returns the length (Euclidean norm) of argument arg at each data point. |
|
|
|
list :
|
listEscriptParams()
Returns:
A list of pairs (p,d) where p is the name of a parameter for escript and d is a description. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
log(arg)
Returns the natural logarithm of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
log10(arg)
Returns base-10 logarithm of argument arg. |
|
|
|
float
|
longestEdge(domain)
Returns the length of the longest edge of the domain |
|
|
|
tuple
|
matchShape(arg0,
arg1)
Returns a representation of arg0 and arg1 which have the same shape. |
|
|
|
tuple of two numpy.ndarray, two escript.Data,
a Symbol and one of the types numpy.ndarray or
escript.Data
|
matchType(arg0=0.0,
arg1=0.0)
Converts arg0 and arg1 both to the same type numpy.ndarray or
escript.Data or, if one of arg0 or arg1 is of type Symbol, the
other one to be of type numpy.ndarray or escript.Data. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
matrix_mult(arg0,
arg1)
matrix-matrix or matrix-vector product of the two arguments. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
|
|
|
numpy.ndarray, escript.Data, Symbol, int or
float depending on the input
|
maximum(*args)
The maximum over arguments args. |
|
|
|
float, escript.Data, Symbol depending on the type of arg
|
maxval(arg)
Returns the maximum value over all components of arg at each data point. |
|
|
|
float or {numpy.ndarray}
|
meanValue(arg)
return the mean value of the argument over its domain |
|
|
|
numpy.ndarray, escript.Data, Symbol, int or
float depending on the input
|
minimum(*args)
The minimum over arguments args. |
|
|
|
float, escript.Data, Symbol depending on the type of arg
|
minval(arg)
Returns the minimum value over all components of arg at each data point. |
|
|
|
|
mkDir(*pathname)
creates a directory of name pathname if the directory does not exist. |
|
|
|
escript.Symbol, float, int, escript.Data,
numpy.ndarray
|
mult(arg0,
arg1)
Product of arg0 and arg1. |
|
|
|
|
negative(arg)
returns the negative part of arg |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
nonsymmetric(arg)
Returns the non-symmetric part of the square matrix arg. |
|
|
|
escript.Data or Symbol
|
normalize(arg,
zerolength=0)
Returns the normalized version of arg (=``arg/length(arg)``). |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
outer(arg0,
arg1)
The outer product of the two arguments. |
|
|
|
int or None
|
pokeDim(arg)
Identifies the spatial dimension of the argument. |
|
|
|
|
positive(arg)
returns the positive part of arg |
|
|
|
escript.Symbol, float, int, escript.Data,
numpy.ndarray
|
power(arg0,
arg1)
Raises arg0 to the power of arg1. |
|
|
|
None
|
| printParallelThreadCounts() |
|
|
|
escript.Symbol, float, int, escript.Data,
numpy.ndarray
|
quotient(arg0,
arg1)
Quotient of arg0 and arg1. |
|
|
|
|
reorderComponents(arg,
index)
Resorts the components of arg according to index. |
|
|
|
|
resolve(arg)
Returns the value of arg resolved. |
|
|
|
|
safeDiv(arg0,
arg1,
rtol=None)
returns arg0/arg1 but return 0 where arg1 is (almost) zero |
|
|
|
|
saveDX(filename,
domain=None,
**data)
Writes Data objects into a file using the OpenDX file format. |
|
|
|
|
saveDataCSV(filename,
append=False,
sep=', ',
csep='_',
**data)
Writes Data objects to a csv file. |
|
|
|
|
saveESD(datasetName,
dataDir='.',
domain=None,
timeStep=0,
deltaT=1,
dynamicMesh=0,
**data)
Saves Data objects to files and creates an I{escript dataset} (ESD) file
for convenient processing/visualisation. |
|
|
|
|
saveVTK(filename,
domain=None,
metadata=None,
metadata_schema=None,
**data)
Deprecated. |
|
|
|
|
showEscriptParams()
Displays the parameters escript recognises with an explanation and their
current value. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
sign(arg)
Returns the sign of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
sin(arg)
Returns sine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
sinh(arg)
Returns the hyperbolic sine of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray
depending on the type of arg
|
sqrt(arg)
Returns the square root of argument arg. |
|
|
|
float
|
sup(arg)
Returns the maximum value over all data points. |
|
|
|
escript.Data, Symbol, numpy.ndarray depending on the
type of arg
|
swap_axes(arg,
axis0=0,
axis1=1)
Returns the swap of arg by swapping the components axis0 and axis1. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
symmetric(arg)
Returns the symmetric part of the square matrix arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
tan(arg)
Returns tangent of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
tanh(arg)
Returns the hyperbolic tangent of argument arg. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
tensor_mult(arg0,
arg1)
The tensor product of the two arguments. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
|
|
|
bool
|
testForZero(arg)
Tests if the argument is identical to zero. |
|
|
|
escript.Data, Symbol, numpy.ndarray depending on the
type of arg
|
trace(arg,
axis_offset=0)
Returns the trace of arg which is the sum of arg[k,k] over k. |
|
|
|
escript.Data, Symbol, numpy.ndarray, float, int
depending on the type of arg
|
transpose(arg,
axis_offset=None)
Returns the transpose of arg by swapping the first axis_offset and the
last rank-axis_offset components. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
transposed_matrix_mult(arg0,
arg1)
transposed(matrix)-matrix or transposed(matrix)-vector product of the two
arguments. |
|
|
|
numpy.ndarray, escript.Data, Symbol depending on the
input
|
|
|
numpy.ndarray or escript.Data of rank 1
|
unitVector(i=0,
d=3)
Returns a unit vector u of dimension d whose non-zero element is at index i. |
|
|
|
float
|
vol(arg)
Returns the volume or area of the oject arg |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
whereNegative(arg)
Returns mask of negative values of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
whereNonZero(arg,
tol=0.0)
Returns mask of values different from zero of argument arg. |
|
|
|
float, escript.Data, Symbol, numpy.ndarray depending
on the type of arg
|
wherePositive(arg)
Returns mask of positive values of argument arg. |
|
|
|
float, escript.Data , Symbol , numpy.ndarray depending
on the type of arg
|
whereZero(arg,
tol=None,
rtol=1.49011611938e-08)
Returns mask of zero entries of argument arg. |
|
|
|
numpy.ndarray
|
zeros(shape=())
Returns the shape zero tensor. |
|
|