proj home

Files   Classes   Functions   Hierarchy  

meshpatch.cpp

Go to the documentation of this file.
00001 #include <meshpatch.h>
00002 
00003 
00004 meshpatch::meshpatch(uintc M_, uintc N_)
00005   : M(M_), N(N_), vbu(new bernsteinPoly[M+1]), vbv(new bernsteinPoly[N+1]), 
00006   vbuval(new double[M+1]), vbvval(new double[N+1])
00007 {
00008   for (uint i=0; i<=M; ++i)
00009     vbu[i].construct(M,i);
00010   for (uint i=0; i<=N; ++i)
00011     vbv[i].construct(N,i);
00012 }
00013 
00014 
00015 meshpatch::~meshpatch()
00016 {
00017   delete[] vbu;
00018   delete[] vbv;
00019   delete[] vbuval;
00020   delete[] vbvval;
00021 }
00022 

Generated on Fri Mar 4 00:49:25 2011 for Chelton Evans Source by  doxygen 1.5.8