Mohammad,
in addition to what Timo already said, I think it's worth making the point again that is already an FAQ:

http://dealii.sourceforge.net/index.php/Deal.II_Questions_and_Answers#deal.II_aborts_my_program_with_an_error_message

Namely: Read the error message. For example:

    --------------------------------------------------------
    An error occurred in line <2246> of file
    </home/smm/Work/deal.II/include/deal.II/lac/sparse_matrix.h> in function
    void dealii::SparseMatrix<number>::add(unsigned int, unsigned int,
    number) [with number = double]
    The violated condition was:
    numbers::is_finite(value)
    The name and call sequence of the exception was:
      ExcNumberNotFinite()
    Additional Information:
    (none)

Did you read what this error message says? If you didn't understand it, did you try to look up the numbers::is_finite function and the ExcNumberNotFinite exception? They're here:

http://www.dealii.org/developer/doxygen/deal.II/namespacenumbers.html#aecd64881824be539b5707a983c880498

http://www.dealii.org/developer/doxygen/deal.II/group__Exceptions.html#ga9c63dc4bbb83dc9ae475713e305bb76f


    void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with
    Matrix = dealii::SparseMatrix<double>]
    The violated condition was:
    false
    The name and call sequence of the exception was:
    ExcNeedsUMFPACK()
    Additional Information:
    (none)

Here, ExcNeedsUMFPACK is described here:

http://www.dealii.org/developer/doxygen/deal.II/group__Exceptions.html#gac7ba25d5b3e289abc52ff0386bd8cb4e

You spend a great deal of time explaining what exactly you get from your program, expecting others to explain it to you. You need to learn to spend some time on reading error messages, and reading up on things you don't understand.

Best
 W.

------------------------------------------------------------------------
Wolfgang Bangerth               email:            [email protected]
                                www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to