omnibias.fields.torch.ops
Structured scalar, vector, and tensor fields with derivative caches, calculus operators, and coordinate conventions.
import omnibias.fields.torch.opsModule contract & mathematical conventions
Functional operator surface for the torch backend (Option 2 kernel).
The ComponentView / VectorView attribute DSL forwards
into these functions; users may also import them directly when writing
programmatic / extension code:
from omnibias.fields.torch import ops adv = ops.advection(state, velocity=("u", "v", "w"))
All ops consume a FieldState (never raw (u, coords)
tensors) so the closed-form path stays closed-form: the state's
SigmaCache is filled lazily and reused across orders.
Shared formulas do not imply universal floating-point identity. Verify dtype, shape, derivative-order support, and the stated numerical assumptions for the path you use.
basicModule ↗complexModule ↗conservationModule ↗high_orderModule ↗integralModule ↗nonlinearModule ↗normsModule ↗registryModule ↗tensorModule ↗vectorModule ↗Imports & aliases
These names share a definition with another public module. Follow a name for its full contract, parameters, and examples.
| Import from this module | Canonical reference |
|---|---|
advection | omnibias.fields.torch.ops.advection |
advection_diffusion_residual | omnibias.fields.torch.ops.advection_diffusion_residual |
biharmonic | omnibias.fields.torch.ops.biharmonic |
conservation_residual | omnibias.fields.torch.ops.conservation_residual |
curl | omnibias.fields.torch.ops.curl |
curl_of_curl | omnibias.fields.torch.ops.curl_of_curl |
dalembertian | omnibias.fields.torch.ops.dalembertian |
deformation_gradient | omnibias.fields.torch.ops.deformation_gradient |
derivative | omnibias.fields.torch.ops.derivative |
diffusive_flux | omnibias.fields.torch.ops.diffusive_flux |
directional_derivative | omnibias.fields.torch.ops.directional_derivative |
divergence | omnibias.fields.torch.ops.divergence |
dz | omnibias.fields.torch.ops.dz |
dzbar | omnibias.fields.torch.ops.dzbar |
flux_divergence | omnibias.fields.torch.ops.flux_divergence |
grad_squared_norm | omnibias.fields.torch.ops.grad_squared_norm |
gradient | omnibias.fields.torch.ops.gradient |
gradient_of_composition | omnibias.fields.torch.ops.gradient_of_composition |
gradient_of_derivative | omnibias.fields.torch.ops.gradient_of_derivative |
gradient_of_divergence | omnibias.fields.torch.ops.gradient_of_divergence |
hessian | omnibias.fields.torch.ops.hessian |
inner_product | omnibias.fields.torch.ops.inner_product |
integrate | omnibias.fields.torch.ops.integrate |
jacobian | omnibias.fields.torch.ops.jacobian |
l2_norm | omnibias.fields.torch.ops.l2_norm |
laplacian | omnibias.fields.torch.ops.laplacian |
laplacian_of_composition | omnibias.fields.torch.ops.laplacian_of_composition |
line_integral | omnibias.fields.torch.ops.line_integral |
material_derivative | omnibias.fields.torch.ops.material_derivative |
mixed_partial | omnibias.fields.torch.ops.mixed_partial |
p_laplacian | omnibias.fields.torch.ops.p_laplacian |
polylaplacian | omnibias.fields.torch.ops.polylaplacian |
quadrature_nodes | omnibias.fields.torch.ops.quadrature_nodes |
rate_of_rotation_tensor | omnibias.fields.torch.ops.rate_of_rotation_tensor |
register | omnibias.fields.jax.ops.register |
skew_symmetric_advection | omnibias.fields.torch.ops.skew_symmetric_advection |
sobolev_norm | omnibias.fields.torch.ops.sobolev_norm |
spatial_hessian | omnibias.fields.torch.ops.spatial_hessian |
spatial_jacobian | omnibias.fields.torch.ops.spatial_jacobian |
stack_components | omnibias.fields.torch.ops.stack_components |
strain_rate | omnibias.fields.torch.ops.strain_rate |
tensor_cofactor | omnibias.fields.torch.ops.tensor_cofactor |
tensor_determinant | omnibias.fields.torch.ops.tensor_determinant |
tensor_divergence | omnibias.fields.torch.ops.tensor_divergence |
tensor_double_dot | omnibias.fields.torch.ops.tensor_double_dot |
tensor_inverse | omnibias.fields.torch.ops.tensor_inverse |
tensor_matmul | omnibias.fields.torch.ops.tensor_matmul |
tensor_trace | omnibias.fields.torch.ops.tensor_trace |
tensor_transpose | omnibias.fields.torch.ops.tensor_transpose |
value | omnibias.fields.torch.ops.value |
variable_coefficient_diffusion | omnibias.fields.torch.ops.variable_coefficient_diffusion |
vector_biharmonic | omnibias.fields.torch.ops.vector_biharmonic |
vector_derivative | omnibias.fields.torch.ops.vector_derivative |
vector_hessian | omnibias.fields.torch.ops.vector_hessian |
vector_laplacian | omnibias.fields.torch.ops.vector_laplacian |
vector_polylaplacian | omnibias.fields.torch.ops.vector_polylaplacian |
vorticity | omnibias.fields.torch.ops.vorticity |