Galeri::FiniteElements::TRIANGLEGrid Class Reference

#include <Galeri_TRIANGLEGrid.h>

Inheritance diagram for Galeri::FiniteElements::TRIANGLEGrid:
Inheritance graph
[legend]

List of all members.

Private Attributes

const Epetra_CommComm_
struct triangulateio in_ out_
Epetra_MapVertexMap_
Epetra_MapRowMap_
vector< double > min_h_
vector< double > max_h_



 TRIANGLEGrid (const Epetra_Comm &Comm, const int NumPoints, const double *x, const double *y, const double MaxArea)
 ~TRIANGLEGrid ()
virtual int NumDimensions () const
 Returns the number of dimensions of the grid.
virtual int NumVerticesPerElement () const
 Returns the number of vertices contained in each element.
virtual int NumFacesPerElement () const
 Returns the number of faces contained in each element.
virtual int NumVerticesPerFace () const
 Returns the number of vertices contained in each face.
virtual string ElementType () const
 Returns a string containing the element type.
virtual int NumNeighborsPerElement () const
 Returns the number of neighboring elements.
virtual int NumMyElements () const
 Returns the number of finite elements on the calling process.
virtual int NumGlobalElements () const
 Returns the global number of finite elements.
virtual int NumMyVertices () const
 Returns the number of vertices on the calling process.
virtual int NumGlobalVertices () const
 Returns the global number of vertices.
virtual int NumMyBoundaryFaces () const
 Returns the number of boundary faces on the calling process.
virtual int NumGlobalBoundaryFaces () const
 Returns the global number of boundary faces.
virtual double MyVolume () const
 Returns the volume of all local elements.
virtual double GlobalVolume () const
 Returns the global volume of the grid.
virtual void VertexCoord (const int LocalVertex, double *coord) const
 Returns the coordinates of local vertex LocalVertex in vector coord.
virtual void VertexCoord (const int Length, const int *IDs, double *x, double *y, double *z) const
 Returns the coordinates of specified local vertices.
virtual void ElementVertices (const int LocalElement, int *elements) const
 Returns the local vertex IDs of the specified local finite element.
virtual void FaceVertices (const int LocalFace, int &tag, int *IDs) const
 Returns the local vertex IDs of vertices contained in the specified boundary face.
virtual void ElementNeighbors (const int LocalElement, int *elements) const
 Returns the local IDs of neighboring elements.
virtual int FacePatch (const int LocalFace) const
 Returns the patch ID of the specified face.
virtual double ElementMinLength (const int LocalElement) const
 Returns the volume of the specified local finite element.
virtual double ElementMaxLength (const int LocalElement) const
 Returns the volume of the specified local finite element.
virtual double ElementVolume (const int LocalElement) const
 Returns the volume of the specified local finite element.
virtual double FaceArea (const int LocalFace) const
 Returns the area of the specified local face.



virtual const Epetra_MapVertexMap () const
 Returns a reference to the map representing the vertex distribution.
virtual const Epetra_MapRowMap () const
 Returns a reference to the map representing the distribution of rows.
virtual void ExportToVertexMap (const Epetra_DistObject &RowObject, Epetra_DistObject &VertexObject) const
 Exports distributed object from RowMap() to VertexMap().
virtual void ExportToRowMap (const Epetra_DistObject &RowObject, Epetra_DistObject &VertexObject) const
 Exports distributed object from VertexMap() to RowMap().
virtual const Epetra_CommComm () const
 Returns a reference to the communicator object.

Detailed Description

Definition at line 43 of file Galeri_TRIANGLEGrid.h.


Constructor & Destructor Documentation

Galeri::FiniteElements::TRIANGLEGrid::TRIANGLEGrid ( const Epetra_Comm Comm,
const int  NumPoints,
const double *  x,
const double *  y,
const double  MaxArea 
) [inline]

Definition at line 48 of file Galeri_TRIANGLEGrid.h.

Galeri::FiniteElements::TRIANGLEGrid::~TRIANGLEGrid (  )  [inline]

Definition at line 152 of file Galeri_TRIANGLEGrid.h.


Member Function Documentation

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumDimensions (  )  const [inline, virtual]

Returns the number of dimensions of the grid.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 164 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumVerticesPerElement (  )  const [inline, virtual]

Returns the number of vertices contained in each element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 170 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumFacesPerElement (  )  const [inline, virtual]

Returns the number of faces contained in each element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 176 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumVerticesPerFace (  )  const [inline, virtual]

Returns the number of vertices contained in each face.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 182 of file Galeri_TRIANGLEGrid.h.

virtual string Galeri::FiniteElements::TRIANGLEGrid::ElementType (  )  const [inline, virtual]

Returns a string containing the element type.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 188 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumNeighborsPerElement (  )  const [inline, virtual]

Returns the number of neighboring elements.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 193 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumMyElements (  )  const [inline, virtual]

Returns the number of finite elements on the calling process.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 199 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumGlobalElements (  )  const [inline, virtual]

Returns the global number of finite elements.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 205 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumMyVertices (  )  const [inline, virtual]

Returns the number of vertices on the calling process.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 211 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumGlobalVertices (  )  const [inline, virtual]

Returns the global number of vertices.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 217 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumMyBoundaryFaces (  )  const [inline, virtual]

Returns the number of boundary faces on the calling process.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 223 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::NumGlobalBoundaryFaces (  )  const [inline, virtual]

Returns the global number of boundary faces.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 229 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::MyVolume (  )  const [inline, virtual]

Returns the volume of all local elements.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 235 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::GlobalVolume (  )  const [inline, virtual]

Returns the global volume of the grid.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 242 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::VertexCoord ( const int  LocalVertex,
double *  coord 
) const [inline, virtual]

Returns the coordinates of local vertex LocalVertex in vector coord.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 249 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::VertexCoord ( const int  Length,
const int *  IDs,
double *  x,
double *  y,
double *  z 
) const [inline, virtual]

Returns the coordinates of specified local vertices.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 256 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::ElementVertices ( const int  LocalElement,
int *  elements 
) const [inline, virtual]

Returns the local vertex IDs of the specified local finite element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 269 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::FaceVertices ( const int  LocalFace,
int &  tag,
int *  IDs 
) const [inline, virtual]

Returns the local vertex IDs of vertices contained in the specified boundary face.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 276 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::ElementNeighbors ( const int  LocalElement,
int *  elements 
) const [inline, virtual]

Returns the local IDs of neighboring elements.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 284 of file Galeri_TRIANGLEGrid.h.

virtual int Galeri::FiniteElements::TRIANGLEGrid::FacePatch ( const int  LocalFace  )  const [inline, virtual]

Returns the patch ID of the specified face.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 291 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::ElementMinLength ( const int  LocalElement  )  const [inline, virtual]

Returns the volume of the specified local finite element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 297 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::ElementMaxLength ( const int  LocalElement  )  const [inline, virtual]

Returns the volume of the specified local finite element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 303 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::ElementVolume ( const int  LocalElement  )  const [inline, virtual]

Returns the volume of the specified local finite element.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 309 of file Galeri_TRIANGLEGrid.h.

virtual double Galeri::FiniteElements::TRIANGLEGrid::FaceArea ( const int  LocalFace  )  const [inline, virtual]

Returns the area of the specified local face.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 316 of file Galeri_TRIANGLEGrid.h.

virtual const Epetra_Map& Galeri::FiniteElements::TRIANGLEGrid::VertexMap (  )  const [inline, virtual]

Returns a reference to the map representing the vertex distribution.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 326 of file Galeri_TRIANGLEGrid.h.

virtual const Epetra_Map& Galeri::FiniteElements::TRIANGLEGrid::RowMap (  )  const [inline, virtual]

Returns a reference to the map representing the distribution of rows.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 332 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::ExportToVertexMap ( const Epetra_DistObject RowObject,
Epetra_DistObject VertexObject 
) const [inline, virtual]

Exports distributed object from RowMap() to VertexMap().

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 338 of file Galeri_TRIANGLEGrid.h.

virtual void Galeri::FiniteElements::TRIANGLEGrid::ExportToRowMap ( const Epetra_DistObject RowObject,
Epetra_DistObject VertexObject 
) const [inline, virtual]

Exports distributed object from VertexMap() to RowMap().

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 346 of file Galeri_TRIANGLEGrid.h.

virtual const Epetra_Comm& Galeri::FiniteElements::TRIANGLEGrid::Comm (  )  const [inline, virtual]

Returns a reference to the communicator object.

Implements Galeri::FiniteElements::AbstractGrid.

Definition at line 354 of file Galeri_TRIANGLEGrid.h.


Member Data Documentation

Definition at line 362 of file Galeri_TRIANGLEGrid.h.

struct triangulateio in_ Galeri::FiniteElements::TRIANGLEGrid::out_ [private]

Definition at line 363 of file Galeri_TRIANGLEGrid.h.

Definition at line 364 of file Galeri_TRIANGLEGrid.h.

Definition at line 365 of file Galeri_TRIANGLEGrid.h.

Definition at line 366 of file Galeri_TRIANGLEGrid.h.

Definition at line 367 of file Galeri_TRIANGLEGrid.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Generated on Wed Apr 13 10:08:41 2011 for Galeri Package Browser (Single Doxygen Collection) by  doxygen 1.6.3