Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::composite::EntryGather Struct Reference

With setup reuse, the triplets of later assemblies are summed directly into a matrix's value array, each entry adding its triplets in increasing triplet order so that the sums do not depend on thread scheduling: the triplets of entry e are trip[offset[e]:offset[e+1]]. More...

#include <AMReX_CompositeSystemUtil.H>

Public Member Functions

bool empty () const
Long numTriplets () const
void clear ()

Public Attributes

Gpu::DeviceVector< Long > offset
Gpu::DeviceVector< Long > trip

Detailed Description

With setup reuse, the triplets of later assemblies are summed directly into a matrix's value array, each entry adding its triplets in increasing triplet order so that the sums do not depend on thread scheduling: the triplets of entry e are trip[offset[e]:offset[e+1]].

Member Function Documentation

◆ clear()

void amrex::composite::EntryGather::clear ( )
inline

◆ empty()

bool amrex::composite::EntryGather::empty ( ) const
inlinenodiscard

◆ numTriplets()

Long amrex::composite::EntryGather::numTriplets ( ) const
inlinenodiscard

Member Data Documentation

◆ offset

Gpu::DeviceVector<Long> amrex::composite::EntryGather::offset

◆ trip

Gpu::DeviceVector<Long> amrex::composite::EntryGather::trip

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