On 9/19/22 07:18, Wasim Niyaz Munshi ce21d400 wrote:
Functions::ConstantFunction(dim)(u_y_values,2),constraints,u_y_mask
);//imposing u_y=0 on
boudaries with id=1
Now, it gives the following error:
error: no match for call to
Thank You.
I went through the documentations and realized that in step 8 Dirichlet
boundary conditions are being applied using the constraint object. Hence,
we only need to pass the constraint object to
VectorTools::interpolate_boundary_values. No need to pass the
'boundary_values' std::map
On 9/18/22 06:51, Wasim Niyaz Munshi ce21d400 wrote:
VectorTools::interpolate_boundary_values(dof_handler,
1,
Functions::ConstantFunction(dim)(u_y_values,2),boundary_values,u_y_mask,
Hello everyone.
I am trying to specify x and y displacements separately in step 8 of the
tutorial programs.
I am doing it as follows:
FEValuesExtractors::Scalar u_x(0);
FEValuesExtractors::Scalar u_y(1);
ComponentMask u_x_mask = fe.component_mask(u_x);
ComponentMask u_y_mask =