NeumannBC

NeumannBC#

class pinnx.icbc.NeumannBC(func, on_boundary=<function NeumannBC.<lambda>>)[source]#

Neumann boundary conditions: dy/dn(x) = func(x).

Parameters:
error(bc_inputs, bc_outputs, **kwargs)[source]#

Returns the loss for each component at the initial or boundary conditions.