Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
mask_ops Module Reference

Some common Masking operations we may need.

Data Types

interface  mask_exterior_const
 

Functions/Subroutines

subroutine, public mask_exterior_fld (fld, mask, background)
 Force everything outside the mask to be a background field.
 
real(kind=rp) function, public compute_masked_volume (mask, coef)
 Compute the volume of the domain contained within the mask.
 

Function/Subroutine Documentation

◆ compute_masked_volume()

real(kind=rp) function, public mask_ops::compute_masked_volume ( class(point_zone_t), intent(inout)  mask,
class(coef_t), intent(in)  coef 
)
Parameters
[in]maskThe mask considered.
[in]coefCoefficients defined on a given mesh.

Definition at line 179 of file mask_ops.f90.

◆ mask_exterior_fld()

subroutine, public mask_ops::mask_exterior_fld ( type(field_t), intent(inout)  fld,
class(point_zone_t), intent(inout)  mask,
type(field_t), intent(inout)  background 
)
Parameters
[in,out]fldThe field being masked
[in,out]maskThe mask being applied.
[in]backgroundThe background field

Definition at line 149 of file mask_ops.f90.