ImpactX
Functions
impactx.ImpactXParIter Namespace Reference

Functions

def soa_real_comps (self, num_comps)
 
def soa_int_comps (self, num_comps)
 
def soa (self, impactx_pybind)
 
def register_ImpactXParIter_extension (impactx_pybind)
 

Detailed Description

This file is part of ImpactX

Copyright 2023 ImpactX contributors
Authors: Axel Huebl
License: BSD-3-Clause-LBNL

Function Documentation

◆ register_ImpactXParIter_extension()

def impactx.ImpactXParIter.register_ImpactXParIter_extension (   impactx_pybind)
ImpactXParIter helper methods

◆ soa()

def impactx.ImpactXParIter.soa (   self,
  impactx_pybind 
)
Get the StructOfArrays on the current tile

◆ soa_int_comps()

def impactx.ImpactXParIter.soa_int_comps (   self,
  num_comps 
)
Name the ImpactX int components in SoA.

Parameters
----------
self : impactx_pybind module
  used to query freestanding functions
num_comps : int
  number of components to generate names for.

Returns
-------
A list of length num_comps with values.

◆ soa_real_comps()

def impactx.ImpactXParIter.soa_real_comps (   self,
  num_comps 
)
Name the ImpactX ParticleReal components in SoA.

Parameters
----------
self : impactx_pybind module
  used to query freestanding functions
num_comps : int
  number of components to generate names for.

Returns
-------
A list of length num_comps with values.