udfGetEbcWDetJ()
Return the weighted determinant of the surface Jacobian at the surface quadrature point.
Syntax
wghtDetJac = udfGetEbcWDetJ( udfHd ) ;
Type
AcuSolve User-Defined Example Boundary Condition
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
Return Value
- wghtDetJac (Real*)
- Pointer to one dimensional real array of the weighted determinant of the surface Jacobian at the surface quadrature point. The array dimension is the number of surfaces, nItems.
Description
Real* wghtDetJac ;
Real wDetJ ;
Integer surf ;
...
wghtDetJac = udfGetEbcWDetJ( udfHd ) ;
for ( surf = 0 ; surf < nItems ; surf++ ) {
wDetJ = wghtDetJac[surf] ;
...
}
Errors
- This routine expects a valid udfHd.
- This routine may only be called within an Element Boundary Condition user function.