the code is related to cook_membrane.cc.

On Thursday, June 22, 2023 at 6:00:55 PM UTC+2 Lance Zhang wrote:

> Hello ,
>
> When I use vmult to multiply matrix with vector,I found error information:
> Error information:
>  BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
>       | ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/share/doc/libdeal.ii-doc/examples/cook_membrane3/cook_membrane.cc: In 
> function ‘int main(int, char**)’:
> /usr/share/doc/libdeal.ii-doc/examples/cook_membrane3/cook_membrane.cc:2510:24:
>  
> error: no matching function for call to 
> ‘dealii::SparseDirectUMFPACK::vmult(dealii::BlockSparseMatrix<double>&, 
> dealii::BlockVector<double>&)’
>  2510 |          A_direct.vmult(output_vector,solid_3d.system_rhs);
>       |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> code:
>   
>          BlockSparseMatrix<double> output_vector;
>          SparseDirectUMFPACK A_direct;
>          A_direct.initialize(solid_3d.tangent_matrix);
>          A_direct.vmult(output_vector,solid_3d.system_rhs);
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> BlockSparseMatrix<double> is the  data type of solid_3d.tangent_matrix
> The data type of system_rhs is BlockSparseMatrix<double> .
>
> Could anyone provide any hint or sugesstion?
>
> Thanks in advance!
> Best regards
> Lance
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/69565fa3-c884-4716-870f-3ff03359dab1n%40googlegroups.com.

Reply via email to