Class documentation of Concepts

Loading...
Searching...
No Matches

#include <space2D.hh>

Inheritance diagram for linearFEM::Linear2d:
concepts::Space< Real > concepts::OutputOperator

Public Types

typedef concepts::Scan< ElementScan
 
typedef void(* SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &)
 
typedef Element< Real > type
 
typedef Scan< Element< Real > > Scanner
 

Public Member Functions

 Linear2d (concepts::Mesh2 &msh, uint level, concepts::BoundaryConditions *bc=0)
 
virtual uint dim () const
 Returns the dimension of the space.
 
virtual uint nelm () const
 Returns the number of elements in the space.
 
virtual Scanscan () const
 Returns a scanner to iterate over the elements of the space.
 
void rebuild ()
 Rebuilds the space.
 
void adjust (const Quad &elm, const short level)
 
const SMap & S (uint i) const
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space.
 

Static Public Member Functions

static void S0 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst)
 
static void S1 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst)
 
static void S2 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst)
 
static void S3 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Space for linear triangular and bilinear quadrilateral FEM in 2D.

Author
Philipp Frauenfelder, 2002

Definition at line 44 of file space2D.hh.

Member Typedef Documentation

◆ Scan

Definition at line 46 of file space2D.hh.

◆ Scanner

typedef Scan<Element<Real > > concepts::Space< Real >::Scanner
inherited

Definition at line 47 of file space.hh.

◆ SMap

typedef void(* linearFEM::Linear2d::SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &)

Definition at line 47 of file space2D.hh.

◆ type

typedef Element<Real > concepts::Space< Real >::type
inherited

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ Linear2d()

linearFEM::Linear2d::Linear2d ( concepts::Mesh2 msh,
uint  level,
concepts::BoundaryConditions bc = 0 
)

Constructor.

Parameters
mshMesh
levelNumber levels for initial refinement
bcBoundary conditions

Member Function Documentation

◆ adjust()

void linearFEM::Linear2d::adjust ( const Quad elm,
const short  level 
)

Adjusts an element in the space. Only quads have S matrices, therefore, only quads can be refined.

Parameters
elmElement to refine
levelNumber of refinements

◆ dim()

virtual uint linearFEM::Linear2d::dim ( ) const
inlinevirtual

Returns the dimension of the space.

Implements concepts::Space< Real >.

Definition at line 58 of file space2D.hh.

◆ getOutputDimension()

virtual uint concepts::Space< Real >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Definition at line 50 of file space.hh.

◆ info()

virtual std::ostream & linearFEM::Linear2d::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Space< Real >.

◆ nelm()

virtual uint linearFEM::Linear2d::nelm ( ) const
inlinevirtual

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 59 of file space2D.hh.

◆ S()

const SMap & linearFEM::Linear2d::S ( uint  i) const

Returns the ith S matrix. The S matrices are used for the irregular refinement of a mesh. An S matrix is independent of the geometry but it depends on the topological relation of the children with the parent: the bottom left child has a different S matrix than the top right etc.

◆ scan()

virtual Scan * linearFEM::Linear2d::scan ( ) const
virtual

Returns a scanner to iterate over the elements of the space.

Implements concepts::Space< Real >.


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