#include <Neumann.hpp>


Public Types | |
| enum | Type { dirichlet, neumann, fourrier } |
| allowed types. More... | |
Public Member Functions | |
| ConstReferenceCounting < ScalarFunctionBase > | g () const |
| std::string | typeName () const |
| Neumann (ConstReferenceCounting< ScalarFunctionBase > g, const size_t unknownNumber) | |
| Neumann (const Neumann &N) | |
| ~Neumann () | |
| const size_t & | unknownNumber () const |
| const PDECondition::Type & | type () const |
Private Attributes | |
| ConstReferenceCounting < ScalarFunctionBase > | __g |
| The function to impose as a Neumann boundary condition. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const PDECondition &bc) |
Definition at line 45 of file Neumann.hpp.
enum PDECondition::Type [inherited] |
| Neumann::Neumann | ( | ConstReferenceCounting< ScalarFunctionBase > | g, | |
| const size_t | unknownNumber | |||
| ) | [inline] |
Constructor
| g | the conormal derivative | |
| unknownNumber | unknown number |
Definition at line 81 of file Neumann.hpp.
00083 : PDECondition(PDECondition::neumann, unknownNumber), 00084 __g(g) 00085 { 00086 ; 00087 }
| Neumann::Neumann | ( | const Neumann & | N | ) | [inline] |
Copy constructor
| N | given Neumann |
Definition at line 94 of file Neumann.hpp.
00095 : PDECondition(N), 00096 __g(N.__g) 00097 { 00098 ; 00099 }
| Neumann::~Neumann | ( | ) | [inline] |
| ConstReferenceCounting<ScalarFunctionBase> Neumann::g | ( | ) | const [inline] |
Read-only access to the second member
Definition at line 60 of file Neumann.hpp.
References __g.
Referenced by BoundaryConditionSurfaceMeshAssociation::addPDEBoundaryConditionAndMesh().
00061 { 00062 return __g; 00063 }
| std::string Neumann::typeName | ( | ) | const [inline, virtual] |
Gets the condition name
Implements PDECondition.
Definition at line 70 of file Neumann.hpp.
| const size_t& PDECondition::unknownNumber | ( | ) | const [inline, inherited] |
Read-only access to the unknown number
Definition at line 64 of file PDECondition.hpp.
References PDECondition::__unknownNumber.
Referenced by BoundaryConditionSurfaceMeshAssociation::addPDEBoundaryConditionAndMesh().
00065 { 00066 return __unknownNumber; 00067 }
| const PDECondition::Type& PDECondition::type | ( | ) | const [inline, inherited] |
Read-only access to the type of condition
Definition at line 75 of file PDECondition.hpp.
References PDECondition::__type.
00076 { 00077 return __type; 00078 }
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const PDECondition & | bc | |||
| ) | [friend, inherited] |
Writes the condition
| os | output stream | |
| bc | the condition to write |
Definition at line 115 of file PDECondition.hpp.
00116 { 00117 os << bc.typeName(); 00118 return os; 00119 }
ConstReferenceCounting<ScalarFunctionBase> Neumann::__g [private] |
The function to impose as a Neumann boundary condition.
Definition at line 51 of file Neumann.hpp.
Referenced by g().
1.5.6