Overture  Version 25
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SparseRepForMGF Class Reference

#include <SparseRep.h>

Inheritance diagram for SparseRepForMGF:
Inheritance graph
[legend]
Collaboration diagram for SparseRepForMGF:
Collaboration graph
[legend]

Public Types

enum  classifyTypes {
  interior =1, boundary =2, ghost1 =3, ghost2 =4,
  ghost3 =5, ghost4 =6, interpolation =-1, periodic =-2,
  extrapolation =-3, unused =0
}
 

Public Member Functions

 SparseRepForMGF ()
 
 ~SparseRepForMGF ()
 
 SparseRepForMGF (const SparseRepForMGF &rep)
 
SparseRepForMGFoperator= (const SparseRepForMGF &rep)
 
ReferenceCountingoperator= (const ReferenceCounting &x)
 
int updateToMatchGrid (MappedGrid &mg, int stencilSize=9, int numberOfGhostLines=1, int numberOfComponents=1, int offset=0)
 
virtual void setParameters (int stencilSize=9, int numberOfGhostLines=1, int numberOfComponents=1, int offset=0)
 
virtual int setCoefficientIndex (const int &m, const int &na, const Index &I1a, const Index &I2a, const Index &I3a, const int &nb, const Index &I1b, const Index &I2b, const Index &I3b)
 
virtual int setCoefficientIndex (const int &m, const int &na, const Index &I1a, const Index &I2a, const Index &I3a, const int &equationNumber)
 
virtual int setClassify (const classifyTypes &type, const Index &I1, const Index &I2, const Index &I3, const Index &N=nullIndex)
 
virtual int fixUpClassify (realMappedGridFunction &coeff)
 
virtual int indexToEquation (int n, int i1, int i2, int i3)
 
virtual int equationToIndex (const int eqnNo, int &n, int &i1, int &i2, int &i3)
 
virtual real sizeOf (FILE *file=NULL) const
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
virtual void reference (const ReferenceCounting &x)
 
virtual void breakReference ()
 
virtual ReferenceCountingvirtualConstructor (const CopyType ct=DEEP) const
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
virtual aString getClassName () const
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 
virtual void consistencyCheck () const
 

Public Attributes

intMappedGridFunction equationNumber
 
intMappedGridFunction classify
 
int equationOffset
 
int numberOfComponents
 
int numberOfGhostLines
 
int stencilSize
 

Static Public Attributes

static int debug =0
 

Member Enumeration Documentation

Enumerator
interior 
boundary 
ghost1 
ghost2 
ghost3 
ghost4 
interpolation 
periodic 
extrapolation 
unused 

Constructor & Destructor Documentation

SparseRepForMGF::SparseRepForMGF ( )
SparseRepForMGF::~SparseRepForMGF ( )
SparseRepForMGF::SparseRepForMGF ( const SparseRepForMGF rep)

Member Function Documentation

int SparseRepForMGF::equationToIndex ( const int  eqnNo,
int &  n,
int &  i1,
int &  i2,
int &  i3 
)
virtual
int SparseRepForMGF::fixUpClassify ( realMappedGridFunction coeff)
virtual
int SparseRepForMGF::indexToEquation ( int  n,
int  i1,
int  i2,
int  i3 
)
virtual
SparseRepForMGF & SparseRepForMGF::operator= ( const SparseRepForMGF rep)
ReferenceCounting& SparseRepForMGF::operator= ( const ReferenceCounting x)
inlinevirtual

Reimplemented from ReferenceCounting.

int SparseRepForMGF::setClassify ( const classifyTypes type,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const Index &  N = nullIndex 
)
virtual
int SparseRepForMGF::setCoefficientIndex ( const int &  m,
const int &  na,
const Index &  I1a,
const Index &  I2a,
const Index &  I3a,
const int &  nb,
const Index &  I1b,
const Index &  I2b,
const Index &  I3b 
)
virtual
int SparseRepForMGF::setCoefficientIndex ( const int &  m,
const int &  na,
const Index &  I1a,
const Index &  I2a,
const Index &  I3a,
const int &  equationNumber 
)
virtual
void SparseRepForMGF::setParameters ( int  stencilSize = 9,
int  numberOfGhostLines = 1,
int  numberOfComponents = 1,
int  offset = 0 
)
virtual
real SparseRepForMGF::sizeOf ( FILE *  file = NULL) const
virtual
int SparseRepForMGF::updateToMatchGrid ( MappedGrid mg,
int  stencilSize = 9,
int  numberOfGhostLines = 1,
int  numberOfComponents = 1,
int  offset = 0 
)

Member Data Documentation

intMappedGridFunction SparseRepForMGF::classify
int SparseRepForMGF::debug =0
static
intMappedGridFunction SparseRepForMGF::equationNumber
int SparseRepForMGF::equationOffset
int SparseRepForMGF::numberOfComponents
int SparseRepForMGF::numberOfGhostLines
int SparseRepForMGF::stencilSize

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