MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / TensorField

Method TensorField

dedalus/core/distributor.py:231–234  ·  view source on GitHub ↗

Alternate constructor for tensor fields.

(self, *args, **kw)

Source from the content-addressed store, hash-verified

229 return VectorField(self, *args, **kw)
230
231 def TensorField(self, *args, **kw):
232 """Alternate constructor for tensor fields."""
233 from .field import TensorField
234 return TensorField(self, *args, **kw)
235
236 def IdentityTensor(self, coordsys_in, coordsys_out=None, bases=None, dtype=None):
237 """Identity tensor field."""

Callers 15

test_trace_explicitFunction · 0.80
test_trace_implicitFunction · 0.80
test_transpose_explicitFunction · 0.80
test_transpose_implicitFunction · 0.80
test_transpose_explicitFunction · 0.80
test_transpose_implicitFunction · 0.80
test_transpose_explicitFunction · 0.80
test_transpose_implicitFunction · 0.80

Calls 1

TensorFieldFunction · 0.70

Tested by 15

test_trace_explicitFunction · 0.64
test_trace_implicitFunction · 0.64
test_transpose_explicitFunction · 0.64
test_transpose_implicitFunction · 0.64
test_transpose_explicitFunction · 0.64
test_transpose_implicitFunction · 0.64
test_transpose_explicitFunction · 0.64
test_transpose_implicitFunction · 0.64