Added: Force scalar parsing of neumann condition if direction > nsd
This commit is contained in:
committed by
Arne Morten Kvarving
parent
e894688ecf
commit
2250ca5d45
@@ -982,7 +982,7 @@ bool SIMinput::setTracProperty (int code, Property::Type ptype,
|
||||
bool SIMinput::setNeumann (const std::string& prop, const std::string& type,
|
||||
int direction, int code)
|
||||
{
|
||||
if (direction == 0 && this->getNoFields() == 1)
|
||||
if ((direction == 0 && this->getNoFields() == 1) || direction > nsd)
|
||||
{
|
||||
RealFunc* f = utl::parseRealFunc(prop,type);
|
||||
if (!f)
|
||||
|
||||
Reference in New Issue
Block a user