mirror of https://github.com/lammps/lammps.git
whitespace cleanup and try to recover legacy build
This commit is contained in:
parent
4ca36d9526
commit
2270d86519
|
@ -211,7 +211,7 @@ T *MyPage<T>::vget() {
|
|||
* This will advance the internal pointer inside the current memory page.
|
||||
* It is not necessary to call this function for *N* = 0, that is the reserved
|
||||
* storage was not used. A following call to vget() will then reserve the
|
||||
* same location again. It is an error if *N* > *maxchunk*.
|
||||
* same location again. It is an error if *N* > *maxchunk*.
|
||||
*
|
||||
* \param n Number of iterms used in previously reserved chunk */
|
||||
|
||||
|
@ -257,6 +257,7 @@ void MyPage<T>::allocate() {
|
|||
}
|
||||
|
||||
// explicit instantiations
|
||||
#include "fix.h"
|
||||
#include "REPLICA/fix_hyper_local.h"
|
||||
namespace LAMMPS_NS {
|
||||
template class MyPage<int>;
|
||||
|
|
|
@ -34,7 +34,7 @@ class MyPage {
|
|||
|
||||
int init(int user_maxchunk = 1, int user_pagesize = 1024,
|
||||
int user_pagedelta = 1);
|
||||
|
||||
|
||||
T *get();
|
||||
T *get(int n);
|
||||
|
||||
|
@ -51,7 +51,7 @@ class MyPage {
|
|||
return npage*pagesize*sizeof(T);
|
||||
}
|
||||
|
||||
/** Return error status
|
||||
/** Return error status
|
||||
*
|
||||
* \return 0 if no error, 1 requested chunk size > maxchunk, 2 if malloc failed */
|
||||
|
||||
|
|
Loading…
Reference in New Issue