warp.fem.Integrand#
- class warp.fem.Integrand(func, kernel_options=None)[source]#
An integrand is a device function containing arbitrary expressions over
FieldandDomainvariables.It will get transformed to a proper
warp.Functionby resolving concrete Field types at call time.- func#
Original Python function wrapped by the integrand.
- Type:
Callable
- module#
Warp module where the integrand is registered.
- Type:
Any
- argspec#
Full argument specification for the integrand function.
- Type:
Any
- operators#
Resolved operators for field arguments, populated on first integrate call.
Methods
__init__(func[, kernel_options])