Commit 1c41d18c authored by Douglas Serson's avatar Douglas Serson Committed by Spencer Sherwin
Browse files

Remove duplicate bc imposition in ContField1D

parent af846fc1
......@@ -344,15 +344,6 @@ namespace Nektar
// STEP 1: SET THE DIRICHLET DOFS TO THE RIGHT VALUE
// IN THE SOLUTION ARRAY
v_ImposeDirichletConditions(inout);
for(int i = 0; i < m_bndCondExpansions.num_elements(); ++i)
{
if(m_bndConditions[i]->GetBoundaryConditionType() == SpatialDomains::eDirichlet)
{
inout[m_locToGloMap->GetBndCondCoeffsToGlobalCoeffsMap(i)]
= m_bndCondExpansions[i]->GetCoeff(0);
}
}
// STEP 2: CALCULATE THE HOMOGENEOUS COEFFICIENTS
if(contNcoeffs - NumDirBcs > 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