fixed: number of components in tensor/stensor analytical solution evaluation
This commit is contained in:
committed by
Knut Morten Okstad
parent
d1adf474ec
commit
4b2cde1154
@@ -149,14 +149,14 @@ bool IntegrandBase::evalSol (Vector& s, const MxFiniteElement& fe,
|
||||
|
||||
bool IntegrandBase::evalSol (Vector& s, const TensorFunc& asol, const Vec3& X) const
|
||||
{
|
||||
s = Vector(asol(X).ptr(),nsd);
|
||||
s = Vector(asol(X).ptr(),nsd*nsd);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool IntegrandBase::evalSol (Vector& s, const STensorFunc& asol, const Vec3& X) const
|
||||
{
|
||||
s = Vector(asol(X).ptr(),nsd);
|
||||
s = Vector(asol(X).ptr(),nsd*(nsd+1)/2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user