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

This routine returns the weighted determinant of the surface Jacobian at the surface quadrature point. If mesh displacement is active, the returned weighted determinant of the surface Jacobian is for the current (deformed) configuration. The unit of this quantity is area (as opposed to the analogous element quantity, where the unit is volume). For example,
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.