#include <ArnoldFalkWintherWeakSym.h>
Inheritance diagram for ArnoldFalkWintherWeakSymU:
Public Member Functions | |
ArnoldFalkWintherWeakSymU () | |
virtual | ~ArnoldFalkWintherWeakSymU () |
virtual void | set (int order) |
virtual void | set (Polygon &p) |
virtual void | compute_basis_functions () |
virtual int | nbf () |
virtual GiNaC::ex | N (int i) |
virtual GiNaC::ex | dof (int i) |
Definition at line 19 of file ArnoldFalkWintherWeakSym.h.
|
Definition at line 21 of file ArnoldFalkWintherWeakSym.h.
|
|
Definition at line 22 of file ArnoldFalkWintherWeakSym.h.
|
|
Reimplemented from StandardFE. Definition at line 71 of file ArnoldFalkWintherWeakSym.cpp. References VectorDiscontinuousLagrangeFE::compute_basis_functions(), VectorDiscontinuousLagrangeFE::N(), VectorDiscontinuousLagrangeFE::nbf(), StandardFE::Ns, StandardFE::order, StandardFE::p, VectorDiscontinuousLagrangeFE::set(), and VectorDiscontinuousLagrangeFE::set_size(). Referenced by main(). 00071 { 00072 00073 if ( order < 1 ) { 00074 cout <<"Arnold-Falk-Winther elements must be of order 1 or higher."<<endl; 00075 return; 00076 } 00077 00078 00079 if ( p == NULL ) { 00080 cout <<"You need to set a polygon before the basisfunctions can be computed"<<endl; 00081 return; 00082 } 00083 00084 00085 VectorDiscontinuousLagrangeFE fe; 00086 fe.set(order); 00087 fe.set_size(3); 00088 fe.set(*p); 00089 fe.compute_basis_functions(); 00090 00091 for (int i=0; i<fe.nbf(); i++) { 00092 GiNaC::lst Ni = GiNaC::lst(fe.N(i).op(0), fe.N(i).op(1), fe.N(i).op(2)); 00093 GiNaC::ex Nmat = GiNaC::matrix(3,1,Ni); 00094 Ns.insert(Ns.end(), Nmat); 00095 } 00096 }
|
|
Reimplemented from StandardFE. Definition at line 109 of file ArnoldFalkWintherWeakSym.cpp. References StandardFE::dof(). 00109 { 00110 return StandardFE::dof(i); 00111 }
|
|
Reimplemented from StandardFE. Definition at line 114 of file ArnoldFalkWintherWeakSym.cpp. References StandardFE::N(). Referenced by main(). 00114 { 00115 return StandardFE::N(i); 00116 }
|
|
Reimplemented from StandardFE. Definition at line 66 of file ArnoldFalkWintherWeakSym.cpp. References StandardFE::Ns. Referenced by main(). 00066 { 00067 return Ns.size(); 00068 }
|
|
Reimplemented from StandardFE. Definition at line 99 of file ArnoldFalkWintherWeakSym.cpp. References StandardFE::set(). 00099 { 00100 StandardFE::set(p_); 00101 }
|
|
Reimplemented from StandardFE. Definition at line 104 of file ArnoldFalkWintherWeakSym.cpp. References StandardFE::set(). Referenced by main(). 00104 { 00105 StandardFE::set(order_); 00106 }
|