#include <LagrangeFE.h>
Inheritance diagram for VectorLagrangeFE:
Public Member Functions | |
VectorLagrangeFE () | |
~VectorLagrangeFE () | |
virtual void | set (int order) |
virtual void | set (Polygon &p) |
virtual void | set_size (int size_) |
virtual void | compute_basis_functions () |
virtual int | nbf () |
virtual GiNaC::ex | N (int i) |
virtual GiNaC::ex | dof (int i) |
Protected Attributes | |
int | size |
Definition at line 25 of file LagrangeFE.h.
|
Definition at line 29 of file LagrangeFE.h.
|
|
Definition at line 30 of file LagrangeFE.h.
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 240 of file LagrangeFE.cpp. References LagrangeFE::compute_basis_functions(), LagrangeFE::dof(), dof(), StandardFE::dofs, LagrangeFE::N(), LagrangeFE::nbf(), StandardFE::Ns, StandardFE::order, StandardFE::p, LagrangeFE::set(), and size. Referenced by VectorDiscontinuousLagrangeFE::compute_basis_functions(), and main(). 00240 { 00241 LagrangeFE fe; 00242 fe.set(order); 00243 fe.set(*p); 00244 fe.compute_basis_functions(); 00245 GiNaC::lst zero_list; 00246 for (int s=1; s<= size ; s++) { 00247 zero_list.append(0); 00248 } 00249 00250 for (int i=1; i<= fe.nbf() ; i++) { 00251 for (int s=1; s<= size ; s++) { 00252 GiNaC::lst Nis = zero_list; 00253 Nis.let_op(s-1) = fe.N(i); 00254 GiNaC::ex Nmat = GiNaC::matrix(size,1,Nis); 00255 Ns.insert(Ns.end(), Nmat); 00256 00257 GiNaC::lst dof = GiNaC::lst(fe.dof(i), s) ; 00258 dofs.insert(dofs.end(), dof); 00259 } 00260 } 00261 }
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 279 of file LagrangeFE.cpp. References StandardFE::dof(). Referenced by compute_basis_functions(). 00279 { 00280 return StandardFE::dof(i); 00281 }
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 284 of file LagrangeFE.cpp. References StandardFE::N(). 00284 { 00285 return StandardFE::N(i); 00286 }
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 236 of file LagrangeFE.cpp. References StandardFE::nbf(). 00236 { 00237 return StandardFE::nbf(); 00238 }
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 269 of file LagrangeFE.cpp. References StandardFE::set(). 00269 { 00270 StandardFE::set(p_); 00271 }
|
|
Reimplemented from StandardFE. Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 274 of file LagrangeFE.cpp. References StandardFE::set(). Referenced by main(). 00274 { 00275 StandardFE::set(order_); 00276 }
|
|
Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 264 of file LagrangeFE.cpp. References size. Referenced by main(). 00264 { 00265 size = size_; 00266 }
|
|
Reimplemented in VectorDiscontinuousLagrangeFE. Definition at line 27 of file LagrangeFE.h. Referenced by compute_basis_functions(), and set_size(). |