SyFi
0.3
|
#include <SyFi.h>
Go to the source code of this file.
Functions | |
void | print_out (FE &fe) |
int | main () |
int main | ( | ) |
Definition at line 12 of file nedelec_ex2.cpp.
References SyFi::Nedelec2Hdiv::compute_basis_functions(), SyFi::initSyFi(), SyFi::nsd, print_out(), SyFi::StandardFE::set_order(), and SyFi::StandardFE::set_polygon().
{ initSyFi(3); nsd = 3; ReferenceTetrahedron tetrahedon; Nedelec2Hdiv fe; fe.set_polygon(tetrahedon); fe.set_order(1); fe.compute_basis_functions(); cout <<"-------- 1 order ---------- 3D "<<endl; print_out(fe); fe.set_order(2); fe.compute_basis_functions(); cout <<"-------- 2 order ---------- 3D "<<endl; print_out(fe); fe.set_order(3); fe.compute_basis_functions(); cout <<"-------- 3 order ---------- 3D "<<endl; print_out(fe); fe.set_order(4); fe.compute_basis_functions(); cout <<"-------- 4 order ---------- 3D "<<endl; print_out(fe); return 0; }
Definition at line 6 of file nedelec_ex2.cpp.
References SyFi::FE::N(), and SyFi::FE::nbf().