Skip to content
Snippets Groups Projects
Commit 462d7cdf authored by vinugholap@gmail.com's avatar vinugholap@gmail.com
Browse files

Correction in ctor for Dirichlet BC

parent e70292a6
Branches
Tags
3 merge requests!293Master,!290Vinayak,!289Vinayak
......@@ -589,12 +589,12 @@ FunctionSpaceBase* dG3DDomain::getSpaceForBC(const nonLinearBoundaryCondition::t
FunctionSpaceBase* spacebc = NULL;
if(bc_type == nonLinearBoundaryCondition::DIRICHLET)
{
spacebc = new g3DDirichletBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp);
spacebc = new g3DDirichletBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp,1);
}
else if(bc_type == nonLinearBoundaryCondition::NEUMANN)
{
if (neumann_type == nonLinearNeumannBC::FORCE){
spacebc = new g3DNeumannBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp);
spacebc = new g3DNeumannBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp,1);
}
else
{
......@@ -603,7 +603,7 @@ FunctionSpaceBase* dG3DDomain::getSpaceForBC(const nonLinearBoundaryCondition::t
}
else if(bc_type == nonLinearBoundaryCondition::INITIAL)
{
spacebc = new g3DDirichletBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp);
spacebc = new g3DDirichletBoundaryConditionHierarchicalCurlFunctionSpace(getTag(),1,dof_comp,1);
}
return spacebc;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment