Functions | |
| def | f_scal_dbl_2d |
| def | f_scal_dbl_3d |
| def | f_vect_dbl_2d |
| def | f_vect_dbl_3d |
| def | f_scal_int_2d |
| def | f_scal_int_3d |
| def | f_vect_int_2d |
| def | f_vect_int_3d |
| def | print_ord |
Variables | |
| list | filePath = os.environ["MED_ROOT_DIR"] |
| tuple | medFile = os.path.join(filePath, "carre_en_quad4_seg2.med") |
| tuple | md = MEDFILEBROWSER(medFile) |
| tuple | nbMeshes = md.getNumberOfMeshes() |
| tuple | mesh_name = md.getMeshName(0) |
| tuple | mesh = MESH(MED_DRIVER,medFile,mesh_name) |
| tuple | spaceDim = mesh.getSpaceDimension() |
| tuple | meshDim = mesh.getMeshDimension() |
| tuple | nbNodes = mesh.getNumberOfNodes() |
| tuple | supportOnCell = mesh.getSupportOnAll(MED_CELL) |
| tuple | supportOnNode = mesh.getSupportOnAll(MED_NODE) |
| tuple | supportOnConst = mesh.getSupportOnAll(MED_FACE) |
| tuple | fieldDoubleScalOnCell |
| print "" print supportOnCell | |
| tuple | fieldDoubleVectOnCell |
| tuple | fieldIntScalOnCell |
| tuple | fieldIntVectOnCell |
| tuple | name = fieldDoubleScalOnCell.getName() |
| tuple | desc = fieldDoubleScalOnCell.getDescription() |
| tuple | nbOfComp = fieldDoubleScalOnCell.getNumberOfComponents() |
| tuple | iterationNb = fieldDoubleScalOnCell.getIterationNumber() |
| tuple | orderNb = fieldDoubleScalOnCell.getOrderNumber() |
| tuple | time = fieldDoubleScalOnCell.getTime() |
| int | kp1 = 1 |
| tuple | compName = fieldDoubleScalOnCell.getComponentName(kp1) |
| tuple | compDesc = fieldDoubleScalOnCell.getComponentDescription(kp1) |
| tuple | compUnit = fieldDoubleScalOnCell.getMEDComponentUnit(kp1) |
| tuple | support = fieldDoubleScalOnCell.getSupport() |
| tuple | nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS) |
| tuple | valueI = fieldDoubleScalOnCell.getRow(k+1) |
| tuple | fieldDoubleScalOnNode |
| print "" print supportOnNode | |
| tuple | fieldDoubleVectOnNode |
| tuple | fieldIntScalOnNode |
| tuple | fieldIntVectOnNode |
| tuple | fieldDoubleScalOnConst |
| print "" print supportOnConst | |
| tuple | fieldDoubleVectOnConst |
| tuple | fieldIntScalOnConst |
| tuple | fieldIntVectOnConst |
| def med_field_anal.f_scal_dbl_2d | ( | x, | |
| y | |||
| ) |
| def med_field_anal.f_scal_dbl_3d | ( | x, | |
| y, | |||
| z | |||
| ) |
| def med_field_anal.f_vect_dbl_2d | ( | x, | |
| y | |||
| ) |
| def med_field_anal.f_vect_dbl_3d | ( | x, | |
| y, | |||
| z | |||
| ) |
| def med_field_anal.f_scal_int_2d | ( | x, | |
| y | |||
| ) |
| def med_field_anal.f_scal_int_3d | ( | x, | |
| y, | |||
| z | |||
| ) |
| def med_field_anal.f_vect_int_2d | ( | x, | |
| y | |||
| ) |
| def med_field_anal.f_vect_int_3d | ( | x, | |
| y, | |||
| z | |||
| ) |
| def med_field_anal.print_ord | ( | i | ) |
| tuple med_field_anal::filePath = os.environ["MED_ROOT_DIR"] |
| tuple med_field_anal::medFile = os.path.join(filePath, "carre_en_quad4_seg2.med") |
| tuple med_field_anal.md = MEDFILEBROWSER(medFile) |
| tuple med_field_anal.nbMeshes = md.getNumberOfMeshes() |
| tuple med_field_anal.mesh_name = md.getMeshName(0) |
| tuple med_field_anal.mesh = MESH(MED_DRIVER,medFile,mesh_name) |
| tuple med_field_anal.spaceDim = mesh.getSpaceDimension() |
| tuple med_field_anal.meshDim = mesh.getMeshDimension() |
| tuple med_field_anal.nbNodes = mesh.getNumberOfNodes() |
| tuple med_field_anal.supportOnCell = mesh.getSupportOnAll(MED_CELL) |
| tuple med_field_anal.supportOnNode = mesh.getSupportOnAll(MED_NODE) |
| tuple med_field_anal::supportOnConst = mesh.getSupportOnAll(MED_FACE) |
00001 createFieldDoubleFromAnalytic(supportOnCell,1, 00002 f_scal_dbl_2d)
print "" print supportOnCell
00001 createFieldDoubleFromAnalytic(supportOnCell, 00002 spaceDim, 00003 f_vect_dbl_2d)
00001 createFieldIntFromAnalytic(supportOnCell,1, 00002 f_scal_int_2d)
00001 createFieldIntFromAnalytic(supportOnCell,spaceDim, 00002 f_vect_int_2d)
| tuple med_field_anal::name = fieldDoubleScalOnCell.getName() |
| tuple med_field_anal::desc = fieldDoubleScalOnCell.getDescription() |
| tuple med_field_anal::nbOfComp = fieldDoubleScalOnCell.getNumberOfComponents() |
| tuple med_field_anal::iterationNb = fieldDoubleScalOnCell.getIterationNumber() |
| tuple med_field_anal::orderNb = fieldDoubleScalOnCell.getOrderNumber() |
| tuple med_field_anal::time = fieldDoubleScalOnCell.getTime() |
| tuple med_field_anal::compName = fieldDoubleScalOnCell.getComponentName(kp1) |
| tuple med_field_anal::compDesc = fieldDoubleScalOnCell.getComponentDescription(kp1) |
| tuple med_field_anal::compUnit = fieldDoubleScalOnCell.getMEDComponentUnit(kp1) |
| tuple med_field_anal::support = fieldDoubleScalOnCell.getSupport() |
| tuple med_field_anal::nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS) |
| tuple med_field_anal::valueI = fieldDoubleScalOnCell.getRow(k+1) |
00001 createFieldDoubleFromAnalytic(supportOnNode,1, 00002 f_scal_dbl_2d)
print "" print supportOnNode
00001 createFieldDoubleFromAnalytic(supportOnNode, 00002 spaceDim, 00003 f_vect_dbl_2d)
00001 createFieldIntFromAnalytic(supportOnNode,1, 00002 f_scal_int_2d)
00001 createFieldIntFromAnalytic(supportOnNode, spaceDim, 00002 f_vect_int_2d)
00001 createFieldDoubleFromAnalytic(supportOnConst,1, 00002 f_scal_dbl_2d)
print "" print supportOnConst
00001 createFieldDoubleFromAnalytic(supportOnConst, 00002 spaceDim, 00003 f_vect_dbl_2d)
00001 createFieldIntFromAnalytic(supportOnConst,1, 00002 f_scal_int_2d)
00001 createFieldIntFromAnalytic(supportOnConst, spaceDim, 00002 f_vect_int_2d)