DirichletBC

DirichletBC#

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

Dirichlet boundary conditions: y(x) = func(x).

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

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