Re: [deal.II] interpolate_boundary_values and multiple scalar components

2023-10-15 Thread Chad Balen
Hi Wolfgang, *> Are you running your program in debug mode? You should have gotten an error message with the code above.* I wasn't b/c it typically runs slower than release mode... Ok I just finished installing a debug version and it gives an error message. Wow, that would've really helped me

Re: [deal.II] interpolate_boundary_values and multiple scalar components

2023-10-15 Thread Wolfgang Bangerth
On 10/14/23 21:01, Chad wrote: dealii::VectorTools::interpolate_boundary_values(dof_handler, 1, dealii::Functions::ConstantFunction(1.0), boundary_values, var1Mask); dealii::VectorTools::interpolate_boundary_values(dof_handler, 1, dealii::Functions::ConstantFunction(2.0), boundary_values,

Re: [deal.II] Compilation of deal.II fails due to conversion error from std::complex to double

2023-10-15 Thread Wolfgang Bangerth
On 10/15/23 10:04, Daniel Arndt wrote: Using PETSc with complex values is pretty niche and there isn't much CI in place for this case. It looks like   boost::serialization::array_wrapper wrapper( should be replaced with   boost::serialization::array_wrapper wrapper( and similarly in 

Re: [deal.II] Compilation of deal.II fails due to conversion error from std::complex to double

2023-10-15 Thread Daniel Arndt
Roland, Using PETSc with complex values is pretty niche and there isn't much CI in place for this case. It looks like boost::serialization::array_wrapper wrapper( should be replaced with boost::serialization::array_wrapper wrapper( and similarly in VectorBase::load. Best, Daniel On Sat,