criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
criptic::GasNode Class Reference

A class to store information of nodes in a GasTree. More...

#include <GasTree.H>

Public Member Functions

 GasNode (IdxType first_, IdxType numPart_, int splitDim_, Real splitVal_, RealBox bbox_, RealBox searchBox_, Real hMax_)
 Construct a GasNode.
 

Public Attributes

IdxType first
 
IdxType numPart
 
int splitDim
 
Real splitVal
 
RealBox bbox
 
RealBox searchBox
 
Real hMax
 

Detailed Description

A class to store information of nodes in a GasTree.

Constructor & Destructor Documentation

◆ GasNode()

criptic::GasNode::GasNode ( IdxType  first_,
IdxType  numPart_,
int  splitDim_,
Real  splitVal_,
RealBox  bbox_,
RealBox  searchBox_,
Real  hMax_ 
)
inline

Construct a GasNode.

Parameters
first_IdxType index of first index in this node
numPart_IdxType number of particles in this node
splitDim_int value of dimension to split node over; -1 for leaves
splitVal_Real number describing value of the splitting plane
bbox_RealBox of bounding box for this node
searchBox_RealBox of searching box for this node
hMax_Real number of maximum smoothing length of this node

Member Data Documentation

◆ bbox

RealBox criptic::GasNode::bbox

Bounding box of gas positions in node

◆ first

IdxType criptic::GasNode::first

Index of first gas packet in the node

◆ hMax

Real criptic::GasNode::hMax

Maximum smoothing length for a node

◆ numPart

IdxType criptic::GasNode::numPart

Number of gas packets in this node

◆ searchBox

RealBox criptic::GasNode::searchBox

Searching box of gas positions; defined by taking the tightest domain of particles and adding one maximum smoothing length to each side

◆ splitDim

int criptic::GasNode::splitDim

Dimension along which the node splits; a value of -1 indicates the node is a leaf

◆ splitVal

Real criptic::GasNode::splitVal

Value at which the node splits


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