|
WarpX
|
Functions | |
| AMREX_GPU_DEVICE int | ComputeNBorrowOneFaceExtension (const amrex::Dim3 cell, const amrex::Real S_ext, const amrex::Array4< amrex::Real > &S_red, const amrex::Array4< int > &flag_info_face, const amrex::Array4< int > &flag_ext_face, const int idim) |
| For the face of cell pointing in direction idim, return the number of faces we need to intrude with the one-way extension. Returns only one or zero: one if the face can be extended with the the one-way extension, zeros if it can't. More... | |
| AMREX_GPU_DEVICE int | ComputeNBorrowEightFacesExtension (const amrex::Dim3 cell, const amrex::Real S_ext, const amrex::Array4< amrex::Real > &S_red, const amrex::Array4< amrex::Real > &S, const amrex::Array4< int > &flag_info_face, const int idim) |
| For the face of cell pointing in direction idim, return the number of faces we need to intrude with the eight-ways extension. More... | |
| AMREX_GPU_DEVICE int ComputeNBorrowEightFacesExtension | ( | const amrex::Dim3 | cell, |
| const amrex::Real | S_ext, | ||
| const amrex::Array4< amrex::Real > & | S_red, | ||
| const amrex::Array4< amrex::Real > & | S, | ||
| const amrex::Array4< int > & | flag_info_face, | ||
| int | idim | ||
| ) |
For the face of cell pointing in direction idim, return the number of faces we need to intrude with the eight-ways extension.
| [in] | cell | Dim3 storing the indices of the face to extended |
| [in] | S_ext | amount of area needed for the extension |
| [in] | S_red | Array4 storing the amount of area each face can still give away |
| [in] | S_red | Array4 storing the area of face |
| [in] | flag_info_face | Array4 storing face information |
| [in] | idim | normal direction to the face in consideration (0 for x, 1 for y, 2 for z) |
| AMREX_GPU_DEVICE int ComputeNBorrowOneFaceExtension | ( | const amrex::Dim3 | cell, |
| const amrex::Real | S_ext, | ||
| const amrex::Array4< amrex::Real > & | S_red, | ||
| const amrex::Array4< int > & | flag_info_face, | ||
| const amrex::Array4< int > & | flag_ext_face, | ||
| int | idim | ||
| ) |
For the face of cell pointing in direction idim, return the number of faces we need to intrude with the one-way extension. Returns only one or zero: one if the face can be extended with the the one-way extension, zeros if it can't.
| [in] | cell | Dim3 storing the indices of the face to extended |
| [in] | S_ext | amount of area needed for the extension |
| [in] | S_red | Array4 storing the amount of area each face can still give away |
| [in] | flag_info_face | Array4 storing face information |
| [in] | flag_ext_face | Array4 storing face information |
| [in] | idim | normal direction to the face in consideration (0 for x, 1 for y, 2 for z) |
1.8.13