Definition at line 29 of file TaperKernel.hpp.
◆ computeTaperCoeff()
template<typename EXEC_POLICY >
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_POLICY | the execution policy |
- Parameters
-
[in] | size | the number of nodes |
[in] | nodeCoords | Coordinates of the nodes of the mesh (included interior degrees of freedom) |
[in] | sizeT | Taper thickness |
[in] | dt | time-step |
[in] | vMin | Min wavespeed (P-wavespeed for acoustic, S-wavespeed for elastic) |
[in] | r | desired reflectivity of the Taper |
[out] | taperCoeff | array 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 >
Multiply an array with the taper coefficients.
- Template Parameters
-
EXEC_POLICY | the execution policy |
- Parameters
-
[in] | size | the number of nodes |
[in] | taperCoeff | array which contains the taper coefficient on each node (which will be equal to 1 when we are outside of the taper layers) |
[in,out] | vector | array 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: