Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Application::WriteAverages ( String  filepathname,
Util::Database *  db,
std::vector< double >  averages 
)

Definition at line 385 of file mainPrecomputeKernelMatrix.cpp.

References Impala::Util::Database::GetIOBuffer(), and Impala::Util::IOBuffer::Write().

Referenced by mainPrecomputeKernelMatrix().

00387 {
00388     if(Link::Mpi::MyId() == 0)
00389     {
00390         Util::IOBuffer* buf = db->GetIOBuffer(filepathname, false, false, "tmp");
00391         if (buf)
00392         {
00393             for(int i=0 ; i<averages.size() ; ++i)
00394                 buf->Write(&averages[i], sizeof(double));
00395         }
00396         delete buf;
00397     }
00398 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:36:35 2010 for ImpalaSrc by  doxygen 1.5.1