Package med_field_anal


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"]
string filePath = "/share/salome/resources/med/"
string medFile = "carre_en_quad4_seg2.med"
string medFile = "cube_hexa8_quad4.med"
tuple md = MED()
tuple mdDriver = MED_MED_RDONLY_DRIVER(medFile,md)
tuple nbMeshes = md.getNumberOfMeshes()
tuple mesh_name = md.getMeshName(0)
tuple mesh = md.getMesh(mesh_name)
tuple spaceDim = mesh.getSpaceDimension()
tuple meshDim = mesh.getMeshDimension()
tuple nbNodes = mesh.getNumberOfNodes()
tuple supportOnCell = md.getSupport(mesh_name,MED_CELL)
tuple supportOnNode = md.getSupport(mesh_name,MED_NODE)
tuple supportOnConst = md.getSupport(mesh_name,MED_FACE)
tuple supportOnConst = md.getSupport(mesh_name,MED_EDGE)
tuple fieldDoubleScalOnCell
 print "" print supportOnCell
tuple fieldDoubleVectOnCell
tuple fieldIntScalOnCell
tuple fieldIntVectOnCell
tuple fieldDoubleScalOnCell
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 name = fieldDoubleVectOnCell.getName()
tuple desc = fieldDoubleVectOnCell.getDescription()
tuple nbOfComp = fieldDoubleVectOnCell.getNumberOfComponents()
tuple iterationNb = fieldDoubleVectOnCell.getIterationNumber()
tuple orderNb = fieldDoubleVectOnCell.getOrderNumber()
tuple time = fieldDoubleVectOnCell.getTime()
int kp1 = 1
tuple compName = fieldDoubleVectOnCell.getComponentName(kp1)
tuple compDesc = fieldDoubleVectOnCell.getComponentDescription(kp1)
tuple compUnit = fieldDoubleVectOnCell.getMEDComponentUnit(kp1)
tuple support = fieldDoubleVectOnCell.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldDoubleVectOnCell.getRow(k+1)
tuple name = fieldIntScalOnCell.getName()
tuple desc = fieldIntScalOnCell.getDescription()
tuple nbOfComp = fieldIntScalOnCell.getNumberOfComponents()
tuple iterationNb = fieldIntScalOnCell.getIterationNumber()
tuple orderNb = fieldIntScalOnCell.getOrderNumber()
tuple time = fieldIntScalOnCell.getTime()
int kp1 = 1
tuple compName = fieldIntScalOnCell.getComponentName(kp1)
tuple compDesc = fieldIntScalOnCell.getComponentDescription(kp1)
tuple compUnit = fieldIntScalOnCell.getMEDComponentUnit(kp1)
tuple support = fieldIntScalOnCell.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntScalOnCell.getRow(k+1)
tuple name = fieldIntVectOnCell.getName()
tuple desc = fieldIntVectOnCell.getDescription()
tuple nbOfComp = fieldIntVectOnCell.getNumberOfComponents()
tuple iterationNb = fieldIntVectOnCell.getIterationNumber()
tuple orderNb = fieldIntVectOnCell.getOrderNumber()
tuple time = fieldIntVectOnCell.getTime()
int kp1 = 1
tuple compName = fieldIntVectOnCell.getComponentName(kp1)
tuple compDesc = fieldIntVectOnCell.getComponentDescription(kp1)
tuple compUnit = fieldIntVectOnCell.getMEDComponentUnit(kp1)
tuple support = fieldIntVectOnCell.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntVectOnCell.getRow(k+1)
tuple fieldDoubleScalOnNode
 print "" print supportOnNode
tuple fieldDoubleVectOnNode
tuple fieldIntScalOnNode
tuple fieldIntVectOnNode
tuple fieldDoubleScalOnNode
tuple fieldDoubleVectOnNode
tuple fieldIntScalOnNode
tuple fieldIntVectOnNode
tuple name = fieldDoubleScalOnNode.getName()
tuple desc = fieldDoubleScalOnNode.getDescription()
tuple nbOfComp = fieldDoubleScalOnNode.getNumberOfComponents()
tuple iterationNb = fieldDoubleScalOnNode.getIterationNumber()
tuple orderNb = fieldDoubleScalOnNode.getOrderNumber()
tuple time = fieldDoubleScalOnNode.getTime()
int kp1 = 1
tuple compName = fieldDoubleScalOnNode.getComponentName(kp1)
tuple compDesc = fieldDoubleScalOnNode.getComponentDescription(kp1)
tuple compUnit = fieldDoubleScalOnNode.getMEDComponentUnit(kp1)
tuple support = fieldDoubleScalOnNode.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldDoubleScalOnNode.getRow(k+1)
tuple name = fieldDoubleVectOnNode.getName()
tuple desc = fieldDoubleVectOnNode.getDescription()
tuple nbOfComp = fieldDoubleVectOnNode.getNumberOfComponents()
tuple iterationNb = fieldDoubleVectOnNode.getIterationNumber()
tuple orderNb = fieldDoubleVectOnNode.getOrderNumber()
tuple time = fieldDoubleVectOnNode.getTime()
int kp1 = 1
tuple compName = fieldDoubleVectOnNode.getComponentName(kp1)
tuple compDesc = fieldDoubleVectOnNode.getComponentDescription(kp1)
tuple compUnit = fieldDoubleVectOnNode.getMEDComponentUnit(kp1)
tuple support = fieldDoubleVectOnNode.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldDoubleVectOnNode.getRow(k+1)
tuple name = fieldIntScalOnNode.getName()
tuple desc = fieldIntScalOnNode.getDescription()
tuple nbOfComp = fieldIntScalOnNode.getNumberOfComponents()
tuple iterationNb = fieldIntScalOnNode.getIterationNumber()
tuple orderNb = fieldIntScalOnNode.getOrderNumber()
tuple time = fieldIntScalOnNode.getTime()
int kp1 = 1
tuple compName = fieldIntScalOnNode.getComponentName(kp1)
tuple compDesc = fieldIntScalOnNode.getComponentDescription(kp1)
tuple compUnit = fieldIntScalOnNode.getMEDComponentUnit(kp1)
tuple support = fieldIntScalOnNode.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntScalOnNode.getRow(k+1)
tuple name = fieldIntVectOnNode.getName()
tuple desc = fieldIntVectOnNode.getDescription()
tuple nbOfComp = fieldIntVectOnNode.getNumberOfComponents()
tuple iterationNb = fieldIntVectOnNode.getIterationNumber()
tuple orderNb = fieldIntVectOnNode.getOrderNumber()
tuple time = fieldIntVectOnNode.getTime()
int kp1 = 1
tuple compName = fieldIntVectOnNode.getComponentName(kp1)
tuple compDesc = fieldIntVectOnNode.getComponentDescription(kp1)
tuple compUnit = fieldIntVectOnNode.getMEDComponentUnit(kp1)
tuple support = fieldIntVectOnNode.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntVectOnNode.getRow(k+1)
tuple fieldDoubleScalOnConst
 print "" print supportOnConst
tuple fieldDoubleVectOnConst
tuple fieldIntScalOnConst
tuple fieldIntVectOnConst
tuple fieldDoubleScalOnConst
tuple fieldDoubleVectOnConst
tuple fieldIntScalOnConst
tuple fieldIntVectOnConst
tuple name = fieldDoubleScalOnConst.getName()
tuple desc = fieldDoubleScalOnConst.getDescription()
tuple nbOfComp = fieldDoubleScalOnConst.getNumberOfComponents()
tuple iterationNb = fieldDoubleScalOnConst.getIterationNumber()
tuple orderNb = fieldDoubleScalOnConst.getOrderNumber()
tuple time = fieldDoubleScalOnConst.getTime()
int kp1 = 1
tuple compName = fieldDoubleScalOnConst.getComponentName(kp1)
tuple compDesc = fieldDoubleScalOnConst.getComponentDescription(kp1)
tuple compUnit = fieldDoubleScalOnConst.getMEDComponentUnit(kp1)
tuple support = fieldDoubleScalOnConst.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldDoubleScalOnConst.getRow(k+1)
tuple name = fieldDoubleVectOnConst.getName()
tuple desc = fieldDoubleVectOnConst.getDescription()
tuple nbOfComp = fieldDoubleVectOnConst.getNumberOfComponents()
tuple iterationNb = fieldDoubleVectOnConst.getIterationNumber()
tuple orderNb = fieldDoubleVectOnConst.getOrderNumber()
tuple time = fieldDoubleVectOnConst.getTime()
int kp1 = 1
tuple compName = fieldDoubleVectOnConst.getComponentName(kp1)
tuple compDesc = fieldDoubleVectOnConst.getComponentDescription(kp1)
tuple compUnit = fieldDoubleVectOnConst.getMEDComponentUnit(kp1)
tuple support = fieldDoubleVectOnConst.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldDoubleVectOnConst.getRow(k+1)
tuple name = fieldIntScalOnConst.getName()
tuple desc = fieldIntScalOnConst.getDescription()
tuple nbOfComp = fieldIntScalOnConst.getNumberOfComponents()
tuple iterationNb = fieldIntScalOnConst.getIterationNumber()
tuple orderNb = fieldIntScalOnConst.getOrderNumber()
tuple time = fieldIntScalOnConst.getTime()
int kp1 = 1
tuple compName = fieldIntScalOnConst.getComponentName(kp1)
tuple compDesc = fieldIntScalOnConst.getComponentDescription(kp1)
tuple compUnit = fieldIntScalOnConst.getMEDComponentUnit(kp1)
tuple support = fieldIntScalOnConst.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntScalOnConst.getRow(k+1)
tuple name = fieldIntVectOnConst.getName()
tuple desc = fieldIntVectOnConst.getDescription()
tuple nbOfComp = fieldIntVectOnConst.getNumberOfComponents()
tuple iterationNb = fieldIntVectOnConst.getIterationNumber()
tuple orderNb = fieldIntVectOnConst.getOrderNumber()
tuple time = fieldIntVectOnConst.getTime()
int kp1 = 1
tuple compName = fieldIntVectOnConst.getComponentName(kp1)
tuple compDesc = fieldIntVectOnConst.getComponentDescription(kp1)
tuple compUnit = fieldIntVectOnConst.getMEDComponentUnit(kp1)
tuple support = fieldIntVectOnConst.getSupport()
tuple nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple valueI = fieldIntVectOnConst.getRow(k+1)


Function Documentation

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  ) 
 


Variable Documentation

list med_field_anal.filePath = os.environ["MED_ROOT_DIR"] [static]
 

string med_field_anal.filePath = "/share/salome/resources/med/" [static]
 

string med_field_anal.medFile = "carre_en_quad4_seg2.med" [static]
 

string med_field_anal.medFile = "cube_hexa8_quad4.med" [static]
 

tuple med_field_anal.md = MED() [static]
 

tuple med_field_anal.mdDriver = MED_MED_RDONLY_DRIVER(medFile,md) [static]
 

tuple med_field_anal.nbMeshes = md.getNumberOfMeshes() [static]
 

tuple med_field_anal.mesh_name = md.getMeshName(0) [static]
 

tuple med_field_anal.mesh = md.getMesh(mesh_name) [static]
 

tuple med_field_anal.spaceDim = mesh.getSpaceDimension() [static]
 

tuple med_field_anal.meshDim = mesh.getMeshDimension() [static]
 

tuple med_field_anal.nbNodes = mesh.getNumberOfNodes() [static]
 

tuple med_field_anal.supportOnCell = md.getSupport(mesh_name,MED_CELL) [static]
 

tuple med_field_anal.supportOnNode = md.getSupport(mesh_name,MED_NODE) [static]
 

tuple med_field_anal.supportOnConst = md.getSupport(mesh_name,MED_FACE) [static]
 

tuple med_field_anal.supportOnConst = md.getSupport(mesh_name,MED_EDGE) [static]
 

tuple med_field_anal.fieldDoubleScalOnCell [static]
 

Initial value:

createFieldDoubleFromAnalytic(supportOnCell,1,
                                                          f_scal_dbl_2d)
print "" print supportOnCell

tuple med_field_anal.fieldDoubleVectOnCell [static]
 

Initial value:

createFieldDoubleFromAnalytic(supportOnCell,
                                                          spaceDim,
                                                          f_vect_dbl_2d)

tuple med_field_anal.fieldIntScalOnCell [static]
 

Initial value:

createFieldIntFromAnalytic(supportOnCell,1,
                                                    f_scal_int_2d)

tuple med_field_anal.fieldIntVectOnCell [static]
 

Initial value:

createFieldIntFromAnalytic(supportOnCell,spaceDim,
                                                    f_vect_int_2d)

tuple med_field_anal.fieldDoubleScalOnCell [static]
 

Initial value:

createFieldDoubleFromAnalytic(supportOnCell,1,
                                                          f_scal_dbl_3d)

tuple med_field_anal.fieldDoubleVectOnCell [static]
 

Initial value:

createFieldDoubleFromAnalytic(supportOnCell,
                                                          spaceDim,
                                                          f_vect_dbl_3d)

tuple med_field_anal.fieldIntScalOnCell [static]
 

Initial value:

createFieldIntFromAnalytic(supportOnCell,1,
                                                    f_scal_int_3d)

tuple med_field_anal.fieldIntVectOnCell [static]
 

Initial value:

createFieldIntFromAnalytic(supportOnCell,spaceDim,
                                                    f_vect_int_3d)

tuple med_field_anal.name = fieldDoubleScalOnCell.getName() [static]
 

tuple med_field_anal.desc = fieldDoubleScalOnCell.getDescription() [static]
 

tuple med_field_anal.nbOfComp = fieldDoubleScalOnCell.getNumberOfComponents() [static]
 

tuple med_field_anal.iterationNb = fieldDoubleScalOnCell.getIterationNumber() [static]
 

tuple med_field_anal.orderNb = fieldDoubleScalOnCell.getOrderNumber() [static]
 

tuple med_field_anal.time = fieldDoubleScalOnCell.getTime() [static]
 

int med_field_anal.kp1 = 1 [static]
 

tuple med_field_anal.compName = fieldDoubleScalOnCell.getComponentName(kp1) [static]
 

tuple med_field_anal.compDesc = fieldDoubleScalOnCell.getComponentDescription(kp1) [static]
 

tuple med_field_anal.compUnit = fieldDoubleScalOnCell.getMEDComponentUnit(kp1) [static]
 

tuple med_field_anal.support = fieldDoubleScalOnCell.getSupport() [static]
 

tuple med_field_anal.nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS) [static]
 

tuple med_field_anal.valueI = fieldDoubleScalOnCell.getRow(k+1) [static]
 

tuple med_field_anal.name = fieldDoubleVectOnCell.getName() [static]
 

tuple med_field_anal.desc = fieldDoubleVectOnCell.getDescription() [static]
 

tuple med_field_anal.nbOfComp = fieldDoubleVectOnCell.getNumberOfComponents() [static]
 

tuple med_field_anal.iterationNb = fieldDoubleVectOnCell.getIterationNumber() [static]
 

tuple med_field_anal.orderNb = fieldDoubleVectOnCell.getOrderNumber() [static]
 

tuple med_field_anal.time = fieldDoubleVectOnCell.getTime() [static]
 

int med_field_anal.kp1 = 1 [static]
 

tuple med_field_anal.compName = fieldDoubleVectOnCell.getComponentName(kp1) [static]
 

tuple med_field_anal.compDesc = fieldDoubleVectOnCell.getComponentDescription(kp1) [static]
 

tuple med_field_anal.compUnit = fieldDoubleVectOnCell.getMEDComponentUnit(kp1) [static]
 

tuple med_field_anal.support = fieldDoubleVectOnCell.getSupport() [static]
 

tuple med_field_anal.nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS) [static]
 

tuple med_field_anal.valueI = fieldDoubleVectOnCell.getRow(k+1) [static]
 

tuple med_field_anal.name = fieldIntScalOnCell.getName() [static]
 

tuple med_field_anal.desc = fieldIntScalOnCell.getDescription() [static]
 

tuple med_field_anal.nbOfComp = fieldIntScalOnCell.getNumberOfComponents() [static]
 

tuple med_field_anal.iterationNb = fieldIntScalOnCell.getIterationNumber() [static]
 

tuple med_field_anal.orderNb = fieldIntScalOnCell.getOrderNumber() [static]
 

tuple med_field_anal.time = fieldIntScalOnCell.getTime() [static]
 

int med_field_anal.kp1 = 1 [static]
 

tuple med_field_anal.compName = fieldIntScalOnCell.getComponentName(kp1) [static]
 

tuple med_field_anal.compDesc = fieldIntScalOnCell.getComponentDescription(kp1) [static]
 

tuple med_field_anal.compUnit = fieldIntScalOnCell.getMEDComponentUnit(kp1) [static]
 

tuple med_field_anal.support = fieldIntScalOnCell.getSupport() [static]
 

tuple med_field_anal.nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS) [static]
 

tuple med_field_anal.valueI = fieldIntScalOnCell.getRow(k+1) [static]
 

tuple med_field_anal.name = fieldIntVectOnCell.getName() [static]
 

tuple med_field_anal.desc = fieldIntVectOnCell.getDescription() [static]
 

tuple med_field_anal.nbOfComp = fieldIntVectOnCell.getNumberOfComponents() [static]
 

tuple med_field_anal.iterationNb = fieldIntVectOnCell.getIterationNumber() [static]
 

tuple med_field_anal.orderNb = fieldIntVectOnCell.getOrderNumber() [static]
 

tuple med_field_anal.time = fieldIntVectOnCell.getTime() [static]
 

int med_field_anal.kp1 = 1 [static]
 

tuple med_field_anal.compName = fieldIntVectOnCell.getComponentName(kp1) [static]
 

tuple med_field_anal.compDesc = fieldIntVectOnCell.getComponentDescription(kp1) [static]
 

tuple med_field_anal.compUnit = fieldIntVectOnCell.getMEDComponentUnit(kp1) [static]
 

tuple med_field_anal.support = fieldIntVectOnCell.getSupport() [static]