#include <SyFi.h>
Go to the source code of this file.
Functions | |
int | main () |
|
Definition at line 5 of file pnpn2_ex.cpp. References LagrangeFE::compute_basis_functions(), VectorLagrangeFE::compute_basis_functions(), compute_Stokes_element_matrix(), LagrangeFE::set(), VectorLagrangeFE::set(), VectorLagrangeFE::set_size(), and usage(). 00005 { 00006 00007 ReferenceTriangle domain; 00008 00009 int order = 5; 00010 00011 VectorLagrangeFE v_fe; 00012 v_fe.set(order); 00013 v_fe.set_size(2); 00014 v_fe.set(domain); 00015 v_fe.compute_basis_functions(); 00016 00017 LagrangeFE p_fe; 00018 p_fe.set(order-2); 00019 p_fe.set(domain); 00020 p_fe.compute_basis_functions(); 00021 00022 usage(v_fe, p_fe); 00023 00024 Dof dof; 00025 std::map<std::pair<int,int>, ex> A; 00026 compute_Stokes_element_matrix(v_fe, p_fe, dof, A); 00027 00028 }
|