FatBoundary Class Reference

#include <FatBoundary.hpp>

Inheritance diagram for FatBoundary:

Inheritance graph
[legend]
Collaboration diagram for FatBoundary:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const Problemproblem () const
const Structured3DMeshmesh () const
 FatBoundary (const DiscretizationType &discretizationType, ConstReferenceCounting< Mesh > mesh)
void Discretize (ConstReferenceCounting< Problem > problem)
void Compute (Solution &u)
 ~FatBoundary ()

Public Attributes

GetParameter< FatBoundaryOptions__options

Protected Attributes

DiscretizationType __discretizationType

Private Attributes

ReferenceCounting< BaseMatrix__A
ReferenceCounting< BaseVector__b
ConstReferenceCounting< Mesh__mesh
ConstReferenceCounting< Problem__problem


Detailed Description

This class implements the fictitious domain like method developped by Bertrand Maury <maury@ann.jussieu.fr>.

Author:
Stéphane Del Pino.

Definition at line 46 of file FatBoundary.hpp.


Constructor & Destructor Documentation

FatBoundary::FatBoundary ( const DiscretizationType discretizationType,
ConstReferenceCounting< Mesh mesh 
) [inline]

Definition at line 70 of file FatBoundary.hpp.

00072     : Method(discretizationType),
00073       __mesh(mesh)
00074   {
00075     ;
00076   }

FatBoundary::~FatBoundary (  )  [inline]

Definition at line 82 of file FatBoundary.hpp.

00083   {
00084     ;
00085   }


Member Function Documentation

const Problem& FatBoundary::problem (  )  const [inline]

Definition at line 60 of file FatBoundary.hpp.

References __problem.

00061   {
00062     return *__problem;
00063   }

const Structured3DMesh& FatBoundary::mesh (  )  const [inline]

Definition at line 65 of file FatBoundary.hpp.

00066   {
00067     return dynamic_cast<const Structured3DMesh&>(*__mesh);
00068   }

void FatBoundary::Discretize ( ConstReferenceCounting< Problem problem  )  [virtual]

Implements Method.

Definition at line 29 of file FatBoundary.cpp.

References ErrorHandler::unexpected.

00030 {
00031   throw ErrorHandler(__FILE__,__LINE__,
00032                      "FBM is not implemented yet ",
00033                      ErrorHandler::unexpected);
00034 
00035 //   //! Sets the problem.
00036 //   __problem = Pb;
00037 
00038 //   MemoryManager MM;
00039 //   bool performAssembling
00040 //     = MM.ReserveMatrix(__A,
00041 //                     problem().numberOfUnknown(),
00042 //                     mesh().numberOfVertices());
00043 
00044 //   MM.ReserveVector(__b, 
00045 //                 problem().numberOfUnknown(),
00046 //                 mesh().numberOfVertices());
00047 
00048 //   ffout(2) << "Discretizing the PDE Problem ... ";
00049 
00050 //   DegreeOfFreedomSet __degreeOfFreedomSet(0,0,0,0);
00051 //   FEMDiscretization<Structured3DMesh>
00052 //     FEM(problem(), mesh(), *__A, *__b, __degreeOfFreedomSet);
00053 
00054 //   if (performAssembling) {
00055 //     FEM.assembleMatrix();
00056 //   } else {
00057 //     ffout(2) << "keeping previous operator discretization\n";
00058 //   }
00059 //   FEM.assembleSecondMember();
00060 }

void FatBoundary::Compute ( Solution u  )  [virtual]

Implements Method.

Definition at line 62 of file FatBoundary.cpp.

00063 {
00064   ;
00065 }


Member Data Documentation

Definition at line 50 of file FatBoundary.hpp.

Definition at line 51 of file FatBoundary.hpp.

Definition at line 53 of file FatBoundary.hpp.

Definition at line 55 of file FatBoundary.hpp.

Referenced by problem().

Definition at line 58 of file FatBoundary.hpp.


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

Generated on Wed Nov 19 00:06:15 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6