Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_BaseFabUtility.H File Reference
#include <AMReX_Config.H>
#include <AMReX_BaseFab.H>
#include <AMReX_TypeTraits.H>

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

template<class Tto , class Tfrom >
__host__ __device__ void amrex::cast (BaseFab< Tto > &tofab, BaseFab< Tfrom > const &fromfab, Box const &bx, SrcComp scomp, DestComp dcomp, NumComps ncomp) noexcept
 
template<typename STRUCT , typename F >
requires ((sizeof(STRUCT)<=36*8) && std::is_trivially_copyable_v< STRUCT > && std::is_trivially_destructible_v<STRUCT>)
void amrex::fill (BaseFab< STRUCT > &aos_fab, F const &f)
 
template<typename T >
void amrex::transposeCtoF (T const *pi, T *po, int nx, int ny, int nz)
 
template<typename T >
void amrex::transposeCtoF (T const *pi, T *po, int nx, int ny)