How the boundary conditions are disposed into the matrix coefficient?
Hi guys, does any one know?
How the boundary conditions are disposed into the matrix A of Ax=B? In other word, which section of source code I need to find about it? Cheers |
Hi the BC contributions (internalCoffs and boundaryCoeffs) to the matrix and RHS are calculated where the discrete version of the differential operators is assembled. These contributions are stored to be inserted into the matrix prior to the solution. In the case of a case of scalar transport and the div operator the lines are 98 in gaussConvectionScheme.C
Code:
00066 template<class Type> Code:
00095 template<> |
All times are GMT -4. The time now is 16:42. |