Class documentation of Concepts

Loading...
Searching...
No Matches

#include <space1D.hh>

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

Public Types

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

Public Member Functions

 Linear1d (concepts::Mesh1 &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.
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space.
 

Protected Member Functions

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

Detailed Description

Space for linear FEM in 1D.

Author
Philipp Frauenfelder, 2002
Examples
linearFEM1d-simple.cc, and linearFEM1d.cc.

Definition at line 39 of file space1D.hh.

Member Typedef Documentation

◆ Scan

Definition at line 41 of file space1D.hh.

◆ Scanner

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

Definition at line 47 of file space.hh.

◆ SMap

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

Definition at line 42 of file space1D.hh.

◆ type

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

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ Linear1d()

linearFEM::Linear1d::Linear1d ( concepts::Mesh1 msh,
uint  level,
concepts::BoundaryConditions bc = 0 
)

Constructor. Recursively calls enforceBC_ and constructor_

Parameters
mshMesh
levelNumber levels for initial refinement
bcBoundary conditions

Member Function Documentation

◆ dim()

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

Returns the dimension of the space.

Implements concepts::Space< Real >.

Definition at line 52 of file space1D.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::Linear1d::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Space< Real >.

◆ nelm()

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

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 53 of file space1D.hh.

◆ scan()

virtual Scan * linearFEM::Linear1d::scan ( ) const
inlinevirtual

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

Implements concepts::Space< Real >.

Definition at line 54 of file space1D.hh.


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