Class MeshCarrier
Defined in File mesh_carrier.h
Inheritance Relationships
Base Type
public opensn::Carrier
(Class Carrier)
Class Documentation
-
class MeshCarrier : public opensn::Carrier
Object managing mesh data on GPU (for transport only).
Public Functions
-
MeshCarrier(LBSProblem &lbs_problem, TotalXSCarrier &xs, OutflowCarrier &outflow)
Constructor.
Protected Functions
-
std::uint64_t ComputeSize(LBSProblem &lbs_problem)
Compute the memory size (in bytes) to allocate on the GPU to copy the mesh data over.
-
void Assemble(LBSProblem &lbs_problem, TotalXSCarrier &xs, OutflowCarrier &outflow)
Gather the data of each cell and faces into a contiguous chunk of memory on the host before copying the data to the device.
-
MeshCarrier(LBSProblem &lbs_problem, TotalXSCarrier &xs, OutflowCarrier &outflow)