improve error message
This commit is contained in:
@ -368,7 +368,7 @@ void FixAdapt::init()
|
|||||||
|
|
||||||
void *ptr = ad->pair->extract(ad->pparam,ad->pdim);
|
void *ptr = ad->pair->extract(ad->pparam,ad->pdim);
|
||||||
if (ptr == nullptr)
|
if (ptr == nullptr)
|
||||||
error->all(FLERR,"Fix adapt pair style param not supported");
|
error->all(FLERR,"Fix adapt pair style {} param {} not supported", ad->pstyle, ad->pparam);
|
||||||
|
|
||||||
// for pair styles only parameters that are 2-d arrays in atom types or
|
// for pair styles only parameters that are 2-d arrays in atom types or
|
||||||
// scalars are supported
|
// scalars are supported
|
||||||
|
|||||||
Reference in New Issue
Block a user