Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
concepts::ThinStraightMeshes2d Class Reference

#include <thinSheetGeom.hh>

Inheritance diagram for concepts::ThinStraightMeshes2d:
Inheritance graph
[legend]
Collaboration diagram for concepts::ThinStraightMeshes2d:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addMesh (Mesh2 *msh, bool holding=false)
 Adds a mesh to both meshes.
void connectInnerMesh (const Sequence< Edge2d * > &outerBoundary, Mesh2 *msh=0, const Attribute attrib=Attribute())
void connectOppositeEdges (const Edge2d *edge1, const Edge2d *edge2, const Attribute attrib=Attribute(), const Quad2dSubdivision *strategy=0)
 Adds a quadrilateral connecting the two edges.
void connectOuterMesh (const Sequence< Edge2d * > &innerBoundary, Mesh2 *msh=0, const Attribute attrib=Attribute())
 Connects a mesh around the sheet with its innerBoundary by new cells to the outer boundary of the sheet, this for both meshes.
void holdMe (const Connector *cntr)
void holdMe (const Mesh *msh)
const Sequence< Edge2d * > & innerBoundary () const
Mesh2limitMesh () const
virtual PointInCell< tdim > operator() (const PointInCell< sdim > P) const =0
PointInCell< 2 > operator() (const PointInCell< 2 > P) const
const Sequence< Edge2d * > & outerBoundary () const
virtual void rebuild ()
void thickness (const Real d)
 Set thickness.
Mesh2thinMesh () const
 ThinStraightMeshes2d (const Real L, const uint n, const Real D, const Real d=0.0)
 Constructor.
virtual ~ThinStraightMeshes2d ()

Protected Member Functions

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

Protected Attributes

std::auto_ptr< MutableMesh2cMeshInn_
std::auto_ptr< MutableMesh2cMeshOut_
Real d_
Sequence< boost::shared_ptr
< const Connector > > 
holdCntr_
 Connectors to be hold (e.g. additional vertices and edges)
Sequence< boost::shared_ptr
< const Mesh > > 
holdMeshes_
 Meshes to be hold (e.g. outer boundary)
std::auto_ptr< MutableMesh2limitMesh_
std::auto_ptr< MutableMesh2thinMesh_

Private Attributes

const Real D_
Sequence< MappingEdge2d * > inner_
EdgeMeshinnerMesh_
std::auto_ptr< EdgeMeshinnerSheet_
const Real L_
Sequence< const
concepts::Connector * > 
limitCntr_
std::auto_ptr
< concepts::RelativeCells
limitRelat_
Sequence< MappingEdge2d * > midline_
EdgeMeshmidMesh_
const uint n_
Sequence< MappingEdge2d * > outer_
EdgeMeshouterMesh_
std::auto_ptr< EdgeMeshouterSheet_
std::map< const
concepts::Connector
*, std::pair< uint, const
concepts::Connector * > > 
rmap_
std::auto_ptr
< concepts::RelativeCells
thinRelat_

Detailed Description

Definition at line 149 of file thinSheetGeom.hh.


Constructor & Destructor Documentation

concepts::ThinStraightMeshes2d::ThinStraightMeshes2d ( const Real  L,
const uint  n,
const Real  D,
const Real  d = 0.0 
)

Constructor.

Parameters:
Llength of the sheet
nnumber of sections on the straight sheet
Dthickness of region around sheet
dthickness of the sheet

If d = 0 no thin mesh is generated. This could be done later on by setting the thickness.

virtual concepts::ThinStraightMeshes2d::~ThinStraightMeshes2d ( ) [virtual]

Member Function Documentation

void concepts::ThinMeshes2d::addMesh ( Mesh2 msh,
bool  holding = false 
) [inherited]

Adds a mesh to both meshes.

Holds the pointer to mesh if the flag is set to true.

void concepts::ThinMeshes2d::connectInnerMesh ( const Sequence< Edge2d * > &  outerBoundary,
Mesh2 msh = 0,
const Attribute  attrib = Attribute() 
) [inherited]
void concepts::ThinMeshes2d::connectOppositeEdges ( const Edge2d edge1,
const Edge2d edge2,
const Attribute  attrib = Attribute(),
const Quad2dSubdivision strategy = 0 
) [inherited]

Adds a quadrilateral connecting the two edges.

New entities, as stored only internally, will be deleted internally.

void concepts::ThinMeshes2d::connectOuterMesh ( const Sequence< Edge2d * > &  innerBoundary,
Mesh2 msh = 0,
const Attribute  attrib = Attribute() 
) [inherited]

Connects a mesh around the sheet with its innerBoundary by new cells to the outer boundary of the sheet, this for both meshes.

void concepts::ThinMeshes2d::holdMe ( const Mesh msh) [inline, inherited]

Definition at line 61 of file thinSheetGeom.hh.

void concepts::ThinMeshes2d::holdMe ( const Connector cntr) [inline, inherited]

Definition at line 64 of file thinSheetGeom.hh.

virtual std::ostream& concepts::ThinStraightMeshes2d::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::ThinMeshes2d.

const Sequence<Edge2d*>& concepts::ThinStraightMeshes2d::innerBoundary ( ) const [inline, virtual]

Implements concepts::ThinMeshes2d.

Definition at line 172 of file thinSheetGeom.hh.

Here is the call graph for this function:

Mesh2* concepts::ThinMeshes2d::limitMesh ( ) const [inline, inherited]

Definition at line 26 of file thinSheetGeom.hh.

PointInCell<2> concepts::ThinStraightMeshes2d::operator() ( const PointInCell< 2 >  P) const
virtual PointInCell<tdim> concepts::CellToCellMapping< sdim, tdim >::operator() ( const PointInCell< sdim >  P) const [pure virtual, inherited]
const Sequence<Edge2d*>& concepts::ThinStraightMeshes2d::outerBoundary ( ) const [inline, virtual]

Implements concepts::ThinMeshes2d.

Definition at line 169 of file thinSheetGeom.hh.

Here is the call graph for this function:

virtual void concepts::ThinStraightMeshes2d::rebuild ( ) [inline, virtual]

Implements concepts::ThinMeshes2d.

Definition at line 177 of file thinSheetGeom.hh.

void concepts::ThinStraightMeshes2d::thickness ( const Real  d) [virtual]

Set thickness.

Implements concepts::ThinMeshes2d.

Mesh2* concepts::ThinMeshes2d::thinMesh ( ) const [inline, inherited]

Definition at line 27 of file thinSheetGeom.hh.


Member Data Documentation

std::auto_ptr<MutableMesh2> concepts::ThinMeshes2d::cMeshInn_ [protected, inherited]

Definition at line 78 of file thinSheetGeom.hh.

std::auto_ptr<MutableMesh2> concepts::ThinMeshes2d::cMeshOut_ [protected, inherited]

Definition at line 78 of file thinSheetGeom.hh.

Real concepts::ThinMeshes2d::d_ [protected, inherited]

Definition at line 71 of file thinSheetGeom.hh.

Definition at line 185 of file thinSheetGeom.hh.

Sequence<boost::shared_ptr<const Connector> > concepts::ThinMeshes2d::holdCntr_ [protected, inherited]

Connectors to be hold (e.g. additional vertices and edges)

Definition at line 83 of file thinSheetGeom.hh.

Sequence<boost::shared_ptr<const Mesh> > concepts::ThinMeshes2d::holdMeshes_ [protected, inherited]

Meshes to be hold (e.g. outer boundary)

Definition at line 81 of file thinSheetGeom.hh.

Definition at line 190 of file thinSheetGeom.hh.

Definition at line 192 of file thinSheetGeom.hh.

Definition at line 196 of file thinSheetGeom.hh.

Definition at line 185 of file thinSheetGeom.hh.

Definition at line 201 of file thinSheetGeom.hh.

std::auto_ptr<MutableMesh2> concepts::ThinMeshes2d::limitMesh_ [protected, inherited]

Definition at line 74 of file thinSheetGeom.hh.

Definition at line 199 of file thinSheetGeom.hh.

Definition at line 190 of file thinSheetGeom.hh.

Definition at line 192 of file thinSheetGeom.hh.

const uint concepts::ThinStraightMeshes2d::n_ [private]

Definition at line 187 of file thinSheetGeom.hh.

Definition at line 190 of file thinSheetGeom.hh.

Definition at line 192 of file thinSheetGeom.hh.

Definition at line 196 of file thinSheetGeom.hh.

std::map<const concepts::Connector*, std::pair<uint, const concepts::Connector*> > concepts::ThinStraightMeshes2d::rmap_ [private]

Definition at line 204 of file thinSheetGeom.hh.

std::auto_ptr<MutableMesh2> concepts::ThinMeshes2d::thinMesh_ [protected, inherited]

Definition at line 76 of file thinSheetGeom.hh.

Definition at line 199 of file thinSheetGeom.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)