Example codes
and tutorials
The (Not-so) Quick Guide
List of tutorials/demo codes
Single-Physics Problems
Poisson
Adaptivity illustrated for Poisson
Advection-Diffusion
Unsteady heat equation
Linear wave equation
The Young-Laplace equation
Navier-Stokes
Free-surface Navier-Stokes
Axisymmetric Navier-Stokes
Solid mechanics
Beam structures
Shell structures
Multi-physics Problems
Fluid-structure interaction
Boussinesq convection
Steady thermoelasticity
Methods-based example codes and tutorials
Mesh generation
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
How to write a new element
How to write a new refineable element
Default nonlinear solvers -- the sequence of action functions
...
Documentation
FE theory and top-down discussion of the data structure
The (Not-so) Quick Guide
Comprehensive bottom-up discussion of the data structure
List of available structured and unstructured meshes
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
Coding conventions and C++ style
Creating documentation
Optimisation - robustness vs. "raw speed"
Linear vs. nonlinear problems
Storing shape functions
Changing the default "full" integration scheme
Disabling the ALE formulation of unsteady equations
C vs. C++ output
Different sparse assembly techniques and the STL memory pool
Publications
Publications
Talks
Journal publications
Theses
Picture show
Download
Copyright
Download/installation instructions
Download page
FAQ & Contact
FAQ
Change log
Bugs and other known problems
Completeness of the library & our "To-Do List"
Contact the developers
Get involved

 


Beta release!

Please note that the library has not been "officially" released. While we continue to work on the documentation, these web pages are likely to contain broken links and documents in draft form. Please send an email to

oomph-lib AT maths DOT man DOT ac DOT uk

if you wish to be informed of the library's "official" release.

oomph::CompressedMatrixCoefficient Class Reference

#include <general_purpose_preconditioners.h>

List of all members.


Detailed Description

Class for a compressed-matrix coefficent (for either CC or CR matrices). Contains the (row or column) index and value of a coefficient in a compressed row or column. Currently only used in ILU(0) for CCDoubleMatrices to allow the coefficients in each compressed column [row] to be sorted by their row [column] index.

Definition at line 199 of file general_purpose_preconditioners.h.


Public Member Functions

 CompressedMatrixCoefficient ()
 Constructor (no arguments).
 CompressedMatrixCoefficient (const unsigned &index, const double &value)
 Constructor (takes the index and value as arguments).
 ~CompressedMatrixCoefficient ()
 Destructor (does nothing).
 CompressedMatrixCoefficient (const CompressedMatrixCoefficient &a)
 Copy Constructor. Not Broken. Required for STL sort function.
void operator= (const CompressedMatrixCoefficient &a)
 Assignment Operator. Not Broken. Required for STL sort function.
bool operator< (const CompressedMatrixCoefficient &a) const
 Less Than Operator (for the STL sort function).
unsigned & index ()
 access function for the coefficient's (row or column) index
double & value ()
 access function for the coefficient value
unsigned index () const
 Access function for the coefficient's (row or column_ index (const version).
double value () const
 access function for the coefficient's value (const version)

Private Attributes

unsigned Index
 the row or column index of the compressed-matrix coefficient
double Value
 the value of the compressed-matrix coefficient

Constructor & Destructor Documentation

oomph::CompressedMatrixCoefficient::CompressedMatrixCoefficient (  )  [inline]

Constructor (no arguments).

Definition at line 205 of file general_purpose_preconditioners.h.

oomph::CompressedMatrixCoefficient::CompressedMatrixCoefficient ( const unsigned &  index,
const double &  value 
) [inline]

Constructor (takes the index and value as arguments).

Definition at line 208 of file general_purpose_preconditioners.h.

References Index, and Value.

oomph::CompressedMatrixCoefficient::~CompressedMatrixCoefficient (  )  [inline]

Destructor (does nothing).

Definition at line 216 of file general_purpose_preconditioners.h.

oomph::CompressedMatrixCoefficient::CompressedMatrixCoefficient ( const CompressedMatrixCoefficient a  )  [inline]

Copy Constructor. Not Broken. Required for STL sort function.

Definition at line 219 of file general_purpose_preconditioners.h.

References index(), Index, value(), and Value.


Member Function Documentation

unsigned oomph::CompressedMatrixCoefficient::index (  )  const [inline]

Access function for the coefficient's (row or column_ index (const version).

Definition at line 246 of file general_purpose_preconditioners.h.

References Index.

unsigned& oomph::CompressedMatrixCoefficient::index (  )  [inline]

access function for the coefficient's (row or column) index

Definition at line 239 of file general_purpose_preconditioners.h.

References Index.

Referenced by CompressedMatrixCoefficient(), operator<(), and operator=().

bool oomph::CompressedMatrixCoefficient::operator< ( const CompressedMatrixCoefficient a  )  const [inline]

Less Than Operator (for the STL sort function).

Definition at line 233 of file general_purpose_preconditioners.h.

References index(), and Index.

void oomph::CompressedMatrixCoefficient::operator= ( const CompressedMatrixCoefficient a  )  [inline]

Assignment Operator. Not Broken. Required for STL sort function.

Definition at line 226 of file general_purpose_preconditioners.h.

References index(), Index, value(), and Value.

double oomph::CompressedMatrixCoefficient::value (  )  const [inline]

access function for the coefficient's value (const version)

Definition at line 249 of file general_purpose_preconditioners.h.

References Value.

double& oomph::CompressedMatrixCoefficient::value (  )  [inline]

access function for the coefficient value

Definition at line 242 of file general_purpose_preconditioners.h.

References Value.

Referenced by CompressedMatrixCoefficient(), and operator=().


Member Data Documentation

unsigned oomph::CompressedMatrixCoefficient::Index [private]

the row or column index of the compressed-matrix coefficient

Definition at line 254 of file general_purpose_preconditioners.h.

Referenced by CompressedMatrixCoefficient(), index(), operator<(), and operator=().

double oomph::CompressedMatrixCoefficient::Value [private]

the value of the compressed-matrix coefficient

Definition at line 257 of file general_purpose_preconditioners.h.

Referenced by CompressedMatrixCoefficient(), operator=(), and value().


The documentation for this class was generated from the following file:
Generated on Mon Aug 10 11:24:45 2009 by  doxygen 1.4.7