pub fn add_surface<T>(
backend: ComputeBackend,
a: &SurfaceField<T>,
b: &SurfaceField<T>,
) -> SurfaceField<T>Expand description
Sum of two surface fields — internal faces and every boundary patch.
Name, mesh, and boundary conditions come from a; the name is copied, never
composed. Units: both operands are the same physical quantity.
§Panics
Panics if the internal fields or any patch pair differ in length.