#include <ComputeLCPO.h>
Definition at line 27 of file ComputeLCPO.h.
 
◆ LCPONeighborList()
  
  
      
        
          | LCPONeighborList::LCPONeighborList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 38 of file ComputeLCPO.h.
   39       maxNeighbors(initsize), maxAtoms(initsize),
    40       curNeighbor(0), curAtom(0) {
    42     nnfa = 
new int[initsize];
 
 
 
 
◆ ~LCPONeighborList()
  
  
      
        
          | LCPONeighborList::~LCPONeighborList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getSize()
  
  
      
        
          | int LCPONeighborList::getSize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ newlist() [1/2]
  
  
      
        
          | LCPOAtom* LCPONeighborList::newlist  | 
          ( | 
          int  | 
          max_size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 48 of file ComputeLCPO.h.
Referenced by ComputeLCPO::doForce().
   50     int reqNewSize = curNeighbor + max_size;
    51     int newSize = maxNeighbors;
    52     while ( newSize < reqNewSize ) { newSize += newSize >> 1; }
    53     if ( newSize > maxNeighbors ) {
    55       CmiMemcpy(newNeighbors,neighbors,curNeighbor*
sizeof(
LCPOAtom));
    57       neighbors = newNeighbors;
    58       maxNeighbors = newSize;
    61     if (curAtom == maxAtoms) {
    62       newSize = maxAtoms + (maxAtoms >> 1);
    63       int *newNnfa = 
new int[newSize];
    64       CmiMemcpy(newNnfa,nnfa,curAtom*
sizeof(
int));
    69     return &neighbors[curNeighbor];
 
 
 
 
◆ newlist() [2/2]
Definition at line 72 of file ComputeLCPO.h.
   73     return &neighbors[curNeighbor];
  
 
 
◆ newsize()
  
  
      
        
          | void LCPONeighborList::newsize  | 
          ( | 
          int  | 
          list_size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ nextlist()
  
  
      
        
          | void LCPONeighborList::nextlist  | 
          ( | 
          LCPOAtom **  | 
          list,  | 
         
        
           | 
           | 
          int *  | 
          list_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ reset()
  
  
      
        
          | void LCPONeighborList::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file: