GEOS
Static Public Member Functions | List of all members
geos::TaperKernel Struct Reference

Static Public Member Functions

template<typename EXEC_POLICY >
static void computeTaperCoeff (localIndex const size, arrayView2d< wsCoordType const, nodes::REFERENCE_POSITION_USD > const nodeCoords, real32 const sizeT, real32 const dt, real32 const vMin, real32 const r, arrayView1d< real32 > const taperCoeff)
 Compute coefficients for the taper layers. In this computation the choice of the taper length (sizeT) and the coefficient of reflection (r) highly depends on the model. Usually R will be between 10^{-3} and 1 ans you need to find a compromise with sizeT. More...
 
template<typename EXEC_POLICY >
static void multiplyByTaperCoeff (localIndex const size, arrayView1d< real32 const > const taperCoeff, arrayView1d< real32 > const vector)
 Multiply an array with the taper coefficients. More...
 

Detailed Description

Definition at line 29 of file TaperKernel.hpp.

Member Function Documentation

◆ computeTaperCoeff()

template<typename EXEC_POLICY >
static void geos::TaperKernel::computeTaperCoeff ( localIndex const  size,
arrayView2d< wsCoordType const, nodes::REFERENCE_POSITION_USD > const  nodeCoords,
real32 const  sizeT,
real32 const  dt,
real32 const  vMin,
real32 const  r,
arrayView1d< real32 > const  taperCoeff 
)
inlinestatic

Compute coefficients for the taper layers. In this computation the choice of the taper length (sizeT) and the coefficient of reflection (r) highly depends on the model. Usually R will be between 10^{-3} and 1 ans you need to find a compromise with sizeT.

Template Parameters
EXEC_POLICYthe execution policy
Parameters
[in]sizethe number of nodes
[in]nodeCoordsCoordinates of the nodes of the mesh (included interior degrees of freedom)
[in]sizeTTaper thickness
[in]dttime-step
[in]vMinMin wavespeed (P-wavespeed for acoustic, S-wavespeed for elastic)
[in]rdesired reflectivity of the Taper
[out]taperCoeffarray which contains the taper coefficient on each node (which will be equal to 1 when we are outside of the taper layers)

Seek the global maximum and minimum of the domain

Definition at line 48 of file TaperKernel.hpp.

◆ multiplyByTaperCoeff()

template<typename EXEC_POLICY >
static void geos::TaperKernel::multiplyByTaperCoeff ( localIndex const  size,
arrayView1d< real32 const > const  taperCoeff,
arrayView1d< real32 > const  vector 
)
inlinestatic

Multiply an array with the taper coefficients.

Template Parameters
EXEC_POLICYthe execution policy
Parameters
[in]sizethe number of nodes
[in]taperCoeffarray which contains the taper coefficient on each node (which will be equal to 1 when we are outside of the taper layers)
[in,out]vectorarray which is multiplied by the taper array

Definition at line 144 of file TaperKernel.hpp.


The documentation for this struct was generated from the following file: