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::SimpleRectangularQuadMesh< ELEMENT > Class Template Reference

#include <simple_rectangular_quadmesh.template.h>

Inheritance diagram for oomph::SimpleRectangularQuadMesh< ELEMENT >:

oomph::QuadMeshBase oomph::Mesh oomph::ChannelWithLeafletMesh< ELEMENT > oomph::CollapsibleChannelMesh< ELEMENT > oomph::FSIDrivenCavityMesh< ELEMENT > oomph::AlgebraicChannelWithLeafletMesh< ELEMENT > oomph::MacroElementNodeUpdateChannelWithLeafletMesh< ELEMENT > oomph::RefineableChannelWithLeafletMesh< ELEMENT > oomph::AlgebraicCollapsibleChannelMesh< ELEMENT > oomph::MacroElementNodeUpdateCollapsibleChannelMesh< ELEMENT > oomph::RefineableCollapsibleChannelMesh< ELEMENT > oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT > oomph::RefineableFSIDrivenCavityMesh< ELEMENT > List of all members.

Detailed Description

template<class ELEMENT>
class oomph::SimpleRectangularQuadMesh< ELEMENT >

Simple rectangular 2D Quad mesh class. Nx : number of elements in the x direction

Ny : number of elements in the y direction

Lx : length in the x direction

Ly : length in the y direction

Ordering of elements: 'Lower left' to 'lower right' then 'upwards'

Timestepper defaults to Steady.

Definition at line 60 of file simple_rectangular_quadmesh.template.h.


Public Member Functions

 SimpleRectangularQuadMesh (const unsigned &Nx, const unsigned &Ny, const double &Lx, const double &Ly, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in the horizontal and vertical directions, and the corresponding dimensions. Timestepper defaults to Steady.
const unsigned & nx () const
 Access function for number of elements in x directions.
const unsigned & ny () const
 Access function for number of elements in y directions.

Private Attributes

unsigned NX
 Number of elements in x direction.
unsigned NY
 Number of elements in y direction.

Constructor & Destructor Documentation

template<class ELEMENT>
oomph::SimpleRectangularQuadMesh< ELEMENT >::SimpleRectangularQuadMesh ( const unsigned &  Nx,
const unsigned &  Ny,
const double &  Lx,
const double &  Ly,
TimeStepper time_stepper_pt = &Mesh::Default_TimeStepper 
)

Constructor: Pass number of elements in the horizontal and vertical directions, and the corresponding dimensions. Timestepper defaults to Steady.

Constructor for 2D Quad mesh class:

Nx : number of elements in the x direction

Ny : number of elements in the y direction

Lx : length in the x direction

Ly : length in the y direction

Ordering of elements: 'Lower left' to 'lower right' then 'upwards'

Timestepper defaults to Steady.

Definition at line 55 of file simple_rectangular_quadmesh.template.cc.

References oomph::Mesh::add_boundary_node(), oomph::FiniteElement::construct_boundary_node(), oomph::FiniteElement::construct_node(), oomph::Mesh::Element_pt, oomph::Mesh::finite_element_pt(), oomph::FiniteElement::local_fraction_of_node(), oomph::Mesh::node_pt(), oomph::FiniteElement::node_pt(), oomph::Mesh::Node_pt, oomph::SimpleRectangularQuadMesh< ELEMENT >::NX, oomph::SimpleRectangularQuadMesh< ELEMENT >::NY, oomph::FiniteElement::required_nvalue(), oomph::Mesh::set_nboundary(), and oomph::QuadMeshBase::setup_boundary_element_info().


Member Function Documentation

template<class ELEMENT>
const unsigned& oomph::SimpleRectangularQuadMesh< ELEMENT >::nx (  )  const [inline]

Access function for number of elements in x directions.

Definition at line 74 of file simple_rectangular_quadmesh.template.h.

References oomph::SimpleRectangularQuadMesh< ELEMENT >::NX.

template<class ELEMENT>
const unsigned& oomph::SimpleRectangularQuadMesh< ELEMENT >::ny (  )  const [inline]

Access function for number of elements in y directions.

Definition at line 77 of file simple_rectangular_quadmesh.template.h.

References oomph::SimpleRectangularQuadMesh< ELEMENT >::NY.


Member Data Documentation

template<class ELEMENT>
unsigned oomph::SimpleRectangularQuadMesh< ELEMENT >::NX [private]

Number of elements in x direction.

Definition at line 82 of file simple_rectangular_quadmesh.template.h.

Referenced by oomph::SimpleRectangularQuadMesh< ELEMENT >::nx(), and oomph::SimpleRectangularQuadMesh< ELEMENT >::SimpleRectangularQuadMesh().

template<class ELEMENT>
unsigned oomph::SimpleRectangularQuadMesh< ELEMENT >::NY [private]

Number of elements in y direction.

Definition at line 85 of file simple_rectangular_quadmesh.template.h.

Referenced by oomph::SimpleRectangularQuadMesh< ELEMENT >::ny(), and oomph::SimpleRectangularQuadMesh< ELEMENT >::SimpleRectangularQuadMesh().


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 11:26:50 2009 by  doxygen 1.4.7