warp.fem.Operator#

class warp.fem.Operator(func, resolver, field_result=None, attr=None)[source]#

Provide syntactic sugar over Field and Domain evaluation functions and arguments.

Parameters:
func#

Underlying operator function.

Type:

Callable

name#

Operator name.

Type:

str

resolver#

Resolver that maps an argument instance to a concrete implementation.

Type:

Callable

attr#

Optional attribute name used when resolving operator arguments.

Type:

Optional[str]

field_result#

Optional resolver for operator return types.

Type:

Optional[Callable]

__init__(func, resolver, field_result=None, attr=None)[source]#
Parameters:

Methods

__init__(func, resolver[, field_result, attr])