normal_vec.cpp File Reference

#include <SyFi.h>
#include <fstream>

Go to the source code of this file.

Functions

int main ()


Function Documentation

int main (  ) 

Definition at line 10 of file normal_vec.cpp.

References SyFi::initSyFi(), SyFi::normal(), and SyFi::t.

00010            {
00011   initSyFi(2); 
00012   ReferenceTriangle t;
00013   for (int i=0; i< 3; i++) { 
00014     cout <<" normal 2D"<<normal(t,i)<<endl;  
00015   }
00016 
00017   ReferenceTetrahedron t2; 
00018   for (int i=0; i< 4; i++) { 
00019     cout <<" normal 3D"<<normal(t2,i)<<endl;  
00020   }
00021 
00022 
00023 
00024 }


Generated on Mon Aug 31 16:16:49 2009 for SyFi by  doxygen 1.5.9