Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Public Attributes | List of all members
AMP::Mesh::BoxMesh::Box Class Reference

Structure to identify a logical box. More...

#include <BoxMesh.h>

Public Member Functions

constexpr Box ()
 Empty constructor.
 
constexpr Box (int ifirst, int ilast, int jfirst=0, int jlast=0, int kfirst=0, int klast=0)
 Default constructor.
 
std::string print () const
 
constexpr ArraySize size () const
 Return the size of the box.
 

Public Attributes

int first [3]
 Starting element.
 
int last [3]
 Ending element.
 

Detailed Description

Structure to identify a logical box.

This class contains a logical box

Definition at line 78 of file BoxMesh.h.

Constructor & Destructor Documentation

◆ Box() [1/2]

constexpr AMP::Mesh::BoxMesh::Box::Box ( int  ifirst,
int  ilast,
int  jfirst = 0,
int  jlast = 0,
int  kfirst = 0,
int  klast = 0 
)
explicitconstexpr

Default constructor.

The default constructor

Parameters
ifirstFirst x-coordinate
ilastLast x-coordinate
jfirstFirst y-coordinate
jlastLast y-coordinate
kfirstFirst z-coordinate
klastLast z-coordinate

◆ Box() [2/2]

constexpr AMP::Mesh::BoxMesh::Box::Box ( )
constexpr

Empty constructor.

Member Function Documentation

◆ print()

std::string AMP::Mesh::BoxMesh::Box::print ( ) const

◆ size()

constexpr ArraySize AMP::Mesh::BoxMesh::Box::size ( ) const
constexpr

Return the size of the box.

Member Data Documentation

◆ first

int AMP::Mesh::BoxMesh::Box::first[3]

Starting element.

Definition at line 95 of file BoxMesh.h.

◆ last

int AMP::Mesh::BoxMesh::Box::last[3]

Ending element.

Definition at line 96 of file BoxMesh.h.


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page