#include <SyFi.h>
Go to the source code of this file.
Functions | |
void | print_out (FE &fe) |
int | main () |
|
Definition at line 9 of file nedelec_ex2.cpp. References Nedelec2Hdiv::compute_basis_functions(), nsd, print_out(), and Nedelec2Hdiv::set(). 00009 { 00010 nsd = 3; 00011 ReferenceTetrahedron tetrahedon; 00012 Nedelec2Hdiv fe; 00013 fe.set(tetrahedon); 00014 fe.set(1); 00015 fe.compute_basis_functions(); 00016 cout <<"-------- 1 order ---------- 3D "<<endl; 00017 print_out(fe); 00018 00019 fe.set(2); 00020 fe.compute_basis_functions(); 00021 cout <<"-------- 2 order ---------- 3D "<<endl; 00022 print_out(fe); 00023 00024 fe.set(3); 00025 fe.compute_basis_functions(); 00026 cout <<"-------- 3 order ---------- 3D "<<endl; 00027 print_out(fe); 00028 00029 fe.set(4); 00030 fe.compute_basis_functions(); 00031 cout <<"-------- 4 order ---------- 3D "<<endl; 00032 print_out(fe); 00033 00034 00035 00036 00037 }
|
|
Definition at line 3 of file nedelec_ex2.cpp. References FE::N(), and FE::nbf(). 00003 { 00004 for (int i=0; i< fe.nbf(); i++) { 00005 cout <<"fe.N("<<i<<") = "<<fe.N(i)<<endl; 00006 } 00007 }
|