Package petsc4py :: Module PETSc :: Class Section

[hide private]
[frames] | no frames]

# Class Section

Instance Methods | [hide private]

a new object with type S, a subtype of T

__new__(S, ...) |

addConstraintDof(self, point, numDof) |

addDof(self, point, numDof) |

addFieldConstraintDof(self, point, field, numDof) |

addFieldDof(self, point, field, numDof) |

clone(self) |

create(self, comm=None) |

createGlobalSection(self, SF sf) |

destroy(self) |

getChart(self) |

getConstrainedStorageSize(self) |

getConstraintDof(self, point) |

getConstraintIndices(self, point) |

getDof(self, point) |

getFieldComponents(self, field) |

getFieldConstraintDof(self, point, field) |

getFieldConstraintIndices(self, point, field) |

getFieldDof(self, point, field) |

getFieldName(self, field) |

getFieldOffset(self, point, field) |

getMaxDof(self) |

getNumFields(self) |

getOffset(self, point) |

getOffsetRange(self) |

getStorageSize(self) |

reset(self) |

setChart(self, pStart, pEnd) |

setConstraintDof(self, point, numDof) |

setConstraintIndices(self, point, indices) |

setDof(self, point, numDof) |

setFieldComponents(self, field, numComp) |

setFieldConstraintDof(self, point, field, numDof) |

setFieldConstraintIndices(self, point, field, indices) |

setFieldDof(self, point, field, numDof) |

setFieldName(self, field, fieldName) |

setFieldOffset(self, point, field, offset) |

setNumFields(self, numFields) |

setOffset(self, point, offset) |

setUp(self) |

view(self, Viewer viewer=None) |

Inherited from `Object`: `__copy__`, `__deepcopy__`, `__eq__`, `__ge__`, `__gt__`, `__le__`, `__lt__`, `__ne__`, `__nonzero__`, `compose`, `decRef`, `getAttr`, `getClassId`, `getClassName`, `getComm`, `getDict`, `getName`, `getOptionsPrefix`, `getRefCount`, `getTabLevel`, `getType`, `incRef`, `incrementTabLevel`, `query`, `setAttr`, `setFromOptions`, `setName`, `setOptionsPrefix`, `setTabLevel`, `stateIncrease`, `viewFromOptions`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `Object`: `classid`, `comm`, `fortran`, `handle`, `klass`, `name`, `prefix`, `refcount`, `type` Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

### destroy(self)

Overrides: Object.destroy

### view(self, Viewer viewer=None)

Overrides: Object.view