#include <PDEProblem.hpp>

Public Member Functions | |
| const PDE & | pde () const |
| const BoundaryConditionSet & | boundaryConditionSet () const |
| ReferenceCounting< PDEProblem > | operator* (const ConstReferenceCounting< ScalarFunctionBase > &c) const |
| PDEProblem (ReferenceCounting< PDE > pde, ReferenceCounting< BoundaryConditionSet > boundaryConditionSet) | |
| PDEProblem (const PDEProblem &pdeProblem) | |
| virtual | ~PDEProblem () |
Private Attributes | |
| ConstReferenceCounting< PDE > | __pde |
| ReferenceCounting < BoundaryConditionSet > | __boundaryConditionSet |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const PDEProblem &P) |
Definition at line 36 of file PDEProblem.hpp.
| PDEProblem::PDEProblem | ( | ReferenceCounting< PDE > | pde, | |
| ReferenceCounting< BoundaryConditionSet > | boundaryConditionSet | |||
| ) | [inline] |
Constructor
| pde | given PDE | |
| boundaryConditionSet | a boundary condition set |
Definition at line 103 of file PDEProblem.hpp.
Referenced by operator*().
00105 : __pde(pde), 00106 __boundaryConditionSet(boundaryConditionSet) 00107 { 00108 ; 00109 }
| PDEProblem::PDEProblem | ( | const PDEProblem & | pdeProblem | ) | [inline] |
Copy constructor
| pdeProblem | a given PDE problem |
Definition at line 116 of file PDEProblem.hpp.
00117 : __pde(pdeProblem.__pde), 00118 __boundaryConditionSet(pdeProblem.__boundaryConditionSet) 00119 { 00120 ; 00121 }
| virtual PDEProblem::~PDEProblem | ( | ) | [inline, virtual] |
| const PDE& PDEProblem::pde | ( | ) | const [inline] |
Read only access to the PDE
Definition at line 50 of file PDEProblem.hpp.
References __pde.
00051 { 00052 return *__pde; 00053 }
| const BoundaryConditionSet& PDEProblem::boundaryConditionSet | ( | ) | const [inline] |
Read-only access to the boundary condition set
Definition at line 61 of file PDEProblem.hpp.
References __boundaryConditionSet.
00062 { 00063 return *__boundaryConditionSet; 00064 }
| ReferenceCounting<PDEProblem> PDEProblem::operator* | ( | const ConstReferenceCounting< ScalarFunctionBase > & | c | ) | const [inline] |
"multiplies" a PDE problem by a coefficient c
| c | the coefficient |
Definition at line 74 of file PDEProblem.hpp.
References __pde, and PDEProblem().
00075 { 00076 PDEProblem* newPDEProblem = new PDEProblem(*this); 00077 newPDEProblem->__pde = (*__pde) * c; 00078 return newPDEProblem; 00079 }

| std::ostream& operator<< | ( | std::ostream & | os, | |
| const PDEProblem & | P | |||
| ) | [friend] |
Writes the PDE problem to a stream
| os | given stream | |
| P | the problem |
Definition at line 90 of file PDEProblem.hpp.
00091 { 00092 os << *P.__pde << '\n'; 00093 os << *P.__boundaryConditionSet; 00094 return os; 00095 }
ConstReferenceCounting<PDE> PDEProblem::__pde [private] |
a given boundary condition set
Definition at line 42 of file PDEProblem.hpp.
Referenced by boundaryConditionSet().
1.5.6