PFEM Test: Difference between revisions
Jump to navigation
Jump to search
(Created page with ' < Back '''test'''('' 'PFEM', tolv, tolp, tolrv, tolrp, tolvrel, tolprel, maxIter[, maxIncr][, printFlag][, normType]'') <span id="pyPFEMTest"> ¶</span> <blockquote>...') |
No edit summary |
||
Line 2: | Line 2: | ||
'''test'''('' 'PFEM', tolv, tolp, tolrv, tolrp, tolvrel, tolprel, maxIter[, maxIncr][, printFlag][, normType]'') | <span id="pyPFEMTest"></span> | ||
'''test'''('' 'PFEM', tolv, tolp, tolrv, tolrp, tolvrel, tolprel, maxIter[, maxIncr][, printFlag][, normType]'') [[#pyPFEMTest|¶]] | |||
<blockquote>create a PFEM test object.</blockquote> | <blockquote>create a PFEM test object.</blockquote> |
Latest revision as of 18:36, 3 July 2017
test( 'PFEM', tolv, tolp, tolrv, tolrp, tolvrel, tolprel, maxIter[, maxIncr][, printFlag][, normType]) ¶
create a PFEM test object.
Parameters: | * tolv, tolp (float) - The tolerance for absolute values of velocity and pressure. |
---|---|
* tolrv, tolrp (float) - The tolerance for residual of velocity and pressure equations. | |
* tolvrel, tolrprel (float) - The tolerance for relative values of velocity and pressure. | |
* maxIter (int) – The maximum number of interations. | |
* maxIncr (int) – the maximum number of that errors increase. | |
* printFlag (int) – Flag for printing messages (default is 0 – print nothing). | |
* normType (int) – which norm is used (default is 2). | |
Returns: | |
Return Type: |
None |
Example:
test('PFEM', 1e-6, 1e-6, 1e-6, 1e-6, 1e-15, 1e-15, 10, 3, 1, 2)