enable to pass string constants

This commit is contained in:
Axel Kohlmeyer
2022-08-05 07:22:11 -04:00
parent 4f98e02ae7
commit fe0cbf1a68
3 changed files with 5 additions and 6 deletions

View File

@ -787,8 +787,7 @@ namespace ATC {
xtArgs[3] = 1.; xtArgs[4] = 1.; xtArgs[5] = 1.;
xtArgs[6] = coulombConstant*chargeDensity;
xtArgs[7] = -1.;
string radialPower = "radial_power";
f = XT_Function_Mgr::instance()->function(radialPower,8,xtArgs);
f = XT_Function_Mgr::instance()->function("radial_power",8,xtArgs);
for (iset = faceset->begin(); iset != faceset->end(); iset++) {