Go to the source code of this file.
 | 
| int  | main (int argc, char *argv[]) | 
|   | 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 47 of file utilities/ExtractCriticalLayer.cpp.
References Computestreakpositions(), Nektar::LibUtilities::Import(), and npts.
   54         fprintf(stderr,
"Usage: ./ExtractCriticalLayer  meshfile fieldfile  \n");
 
   61         = LibUtilities::SessionReader::CreateInstance(argc, argv);
 
   79     string fieldfile(argv[argc-1]);
 
   80     vector<LibUtilities::FieldDefinitionsSharedPtr> fielddef;
 
   81     vector<vector<NekDouble> > fielddata;
 
   87     string  streak_field(
"w");
 
   88     for(
unsigned int i = 0; i < fielddata.size(); ++i)
 
   90         streak->ExtractDataToCoeffs(fielddef [i],
 
   93                                     streak->UpdateCoeffs());
 
   98     vSession->LoadParameter(
"NumCriticalLayerPts",npts,30);
 
  103     vSession->LoadParameter(
"WidthOfLayers",trans,0.1);
 
  107     cout << 
"# x_c y_c" << endl;
 
  108     for(i = 0; i < 
npts; ++i)
 
  110         fprintf(stdout,
"%12.10lf %12.10lf \n",x_c[i],y_c[i]);
 
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
 
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
 
void Import(const std::string &infilename, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, FieldMetaDataMap &fieldinfomap, const Array< OneD, int > ElementiDs)
Imports an FLD file. 
 
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object. 
 
boost::shared_ptr< MeshGraph > MeshGraphSharedPtr