Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Scalar Class Reference

#include <Scalar.H>

Collaboration diagram for Scalar:

Collaboration graph
[legend]
List of all members.

Public Methods

 Scalar ()
 ~Scalar ()
 Scalar (const Scalar &scalar)
void define (const DisjointBoxLayout &dp, const IntVect &ghost, const Box &domain)
int define (HDF5Handle &handle, std::string &group, int component, const IntVect &ghost)
 ~Scalar ()
void exchange ()
Scalar copy () const
IntVect ghostVect () const
const DisjointBoxLayout & getBoxes () const
const DisjointBoxLayout & disjointBoxLayout () const
Box box (int index) const
FArrayBox & get (int index)
int size () const
const LevelData< FArrayBox > * dataPtr () const
int refCount () const
bool isNull () const
Real norm (int p) const
Real min (int &box, IntVect &index) const
Real max (int &box, IntVect &index) const
void abs ()
Real sum ()
void scale (Real v)
void add (Real v)
Scalar neg () const
void mult (const Scalar &rhs)
void plus (const Scalar &rhs)
void call (PyObject *PyFunc)

Private Attributes

RefCountedPtr< LevelData<
FArrayBox > > 
m_ptr
Box m_domain

Constructor & Destructor Documentation

Scalar::Scalar (    ) 
 

Scalar::~Scalar (    ) 
 

Scalar::Scalar (  const Scalar &    scalar ) 
 

Scalar::~Scalar (    ) 
 


Member Function Documentation

void Scalar::abs (    ) 
 

void Scalar::add (  Real    v ) 
 

Box Scalar::box (  int    index )  const
 

void Scalar::call (  PyObject *    PyFunc ) 
 

Scalar Scalar::copy (    )  const
 

const LevelData<FArrayBox>* Scalar::dataPtr (    )  const
 

int Scalar::define (  HDF5Handle &    handle,
std::string &    group,
int    component,
const IntVect &    ghost
) 
 

void Scalar::define (  const DisjointBoxLayout &    dp,
const IntVect &    ghost,
const Box &    domain
) 
 

const DisjointBoxLayout& Scalar::disjointBoxLayout (    )  const
 

void Scalar::exchange (    ) 
 

FArrayBox& Scalar::get (  int    index ) 
 

const DisjointBoxLayout& Scalar::getBoxes (    )  const
 

IntVect Scalar::ghostVect (    )  const
 

bool Scalar::isNull (    )  const
 

Real Scalar::max (  int &    box,
IntVect &    index
)  const
 

Real Scalar::min (  int &    box,
IntVect &    index
)  const
 

void Scalar::mult (  const Scalar &    rhs ) 
 

Scalar Scalar::neg (    )  const
 

Real Scalar::norm (  int    p )  const
 

void Scalar::plus (  const Scalar &    rhs ) 
 

int Scalar::refCount (    )  const
 

void Scalar::scale (  Real    v ) 
 

int Scalar::size (    )  const
 

Real Scalar::sum (    ) 
 


Member Data Documentation

Box Scalar::m_domain [private]
 

RefCountedPtr<LevelData<FArrayBox> > Scalar::m_ptr [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jul 2 10:44:17 2002 for Chombo by doxygen1.2.16