#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 ex | N (int i) |
virtual 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. Definition at line 209 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. 00209 { 00210 LagrangeFE fe; 00211 fe.set(order); 00212 fe.set(*p); 00213 fe.compute_basis_functions(); 00214 lst zero_list; 00215 for (int s=1; s<= size ; s++) { 00216 zero_list.append(0); 00217 } 00218 00219 for (int i=1; i<= fe.nbf() ; i++) { 00220 for (int s=1; s<= size ; s++) { 00221 lst Nis = zero_list; 00222 Nis.let_op(s-1) = fe.N(i); 00223 Ns.insert(Ns.end(), Nis); 00224 00225 lst dof = lst(fe.dof(i), s) ; 00226 dofs.insert(dofs.end(), dof); 00227 } 00228 } 00229 }
|
|
Reimplemented from StandardFE. Definition at line 247 of file LagrangeFE.cpp. References StandardFE::dof(). Referenced by compute_basis_functions(). 00247 { 00248 return StandardFE::dof(i); 00249 }
|
|
Reimplemented from StandardFE. Definition at line 252 of file LagrangeFE.cpp. References StandardFE::N(). 00252 { 00253 return StandardFE::N(i); 00254 }
|
|
Reimplemented from StandardFE. Definition at line 205 of file LagrangeFE.cpp. References StandardFE::nbf(). 00205 { 00206 return StandardFE::nbf(); 00207 }
|
|
Reimplemented from StandardFE. Definition at line 237 of file LagrangeFE.cpp. References StandardFE::set(). 00237 { 00238 StandardFE::set(p_); 00239 }
|
|
Reimplemented from StandardFE. Definition at line 242 of file LagrangeFE.cpp. References StandardFE::set(). 00242 { 00243 StandardFE::set(order_); 00244 }
|
|
Definition at line 232 of file LagrangeFE.cpp. References size. 00232 { 00233 size = size_; 00234 }
|
|
Definition at line 27 of file LagrangeFE.h. Referenced by compute_basis_functions(), and set_size(). |