whitespace cleanup and try to recover legacy build

This commit is contained in:
Axel Kohlmeyer 2020-09-06 22:51:58 -04:00
parent 4ca36d9526
commit 2270d86519
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 4 additions and 3 deletions

View File

@ -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>;

View File

@ -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 */