SyFi  0.3
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.

           {
  initSyFi(2); 
  ReferenceTriangle t;
  for (int i=0; i< 3; i++) { 
    cout <<" normal 2D"<<normal(t,i)<<endl;  
  }

  ReferenceTetrahedron t2; 
  for (int i=0; i< 4; i++) { 
    cout <<" normal 3D"<<normal(t2,i)<<endl;  
  }



}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator