Commit 27136c2c authored by fabianw's avatar fabianw
Browse files

fixed initializer list issue

parent bbcc969a
......@@ -60,12 +60,16 @@ public:
// init coordinate transform
_physicalDataPos = [this](const int i) { return i*this->m_h; };
m_origin_off = {0.0, 0.0, 0.0};
m_origin_off[0] = 0.0;
m_origin_off[1] = 0.0;
m_origin_off[2] = 0.0;
m_isNodal = 1;
if (p("data").asString("cell") == "cell")
{
_physicalDataPos = [this](const int i) { return (0.5+i)*this->m_h; };
m_origin_off = {0.5*m_h, 0.5*m_h, 0.5*m_h};
m_origin_off[0] = 0.5*m_h;
m_origin_off[1] = 0.5*m_h;
m_origin_off[2] = 0.5*m_h;
m_isNodal = 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment