Exemple #1
0
 def __init__(self, name="mesh_distributor"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="mesh_distributor")
   ModuleDistributor.__init__(self)
   return
Exemple #2
0
 def __init__(self, name="frictionmodel"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="frictionmodel")
     self._createModuleObj()
     return
 def __init__(self, name="progressmonitor"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="progress_monitor")
   self.isMaster = True
   return
 def __init__(self, name):
     """Constructor.
     """
     PetscComponent.__init__(self,
                             name,
                             facility="rheologyincompressibleelasticity")
     return
Exemple #5
0
 def __init__(self, name="problem"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="problem")
   self.mesh = None
   return
Exemple #6
0
 def __init__(self, name="frictionmodel"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="frictionmodel")
   self._createModuleObj()
   return
Exemple #7
0
 def __init__(self, name="boundarycondition"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="boundary_condition")
     self._createModuleObj()
     return
Exemple #8
0
 def __init__(self, name="problem"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="problem")
     self.mesh = None
     return
Exemple #9
0
 def __init__(self, name="mesh_distributor"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="mesh_distributor")
     ModuleDistributor.__init__(self)
     return
Exemple #10
0
 def __init__(self, name="progressmonitor"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="progress_monitor")
   self.isMaster = True
   return
Exemple #11
0
 def __init__(self, name="boundarycondition"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="boundary_condition")
   self._createModuleObj()
   return
Exemple #12
0
 def __init__(self, name="meshgenerator"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="meshgenerator")
     self.debug = False
     self.interpolate = True
     return
Exemple #13
0
 def __init__(self, name="meshio"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="mesh_io")
     self.coordsys = None
     self._createModuleObj()
     return
Exemple #14
0
 def __init__(self, name="eqkinsrc"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="eqkinsrc")
     self._createModuleObj()
     self._loggingPrefix = "EqKi "
     return
Exemple #15
0
 def __init__(self, name="material"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="material")
   self._createModuleObj()
   self.output = None
   return
Exemple #16
0
 def __init__(self, name="eqkinsrc"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="eqkinsrc")
   self._createModuleObj()
   self._loggingPrefix = "EqKi "
   return
Exemple #17
0
 def __init__(self, name="meshio"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="mesh_io")
   self.coordsys = None
   self._createModuleObj()
   return
Exemple #18
0
 def __init__(self, name="material"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="material")
   self._createModuleObj()
   self.output = None
   return
Exemple #19
0
 def __init__(self, name="meshgenerator"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="meshgenerator")
   self.debug = False
   self.interpolate = False
   return
Exemple #20
0
    def __init__(self, name="xdmf"):
        """
    Constructor.
    """
        PetscComponent.__init__(self, name, facility="xdmf")
        self._loggingPrefix = "Xdmf "

        ModuleXdmf.__init__(self)
        return
Exemple #21
0
  def __init__(self, name="xdmf"):
    """
    Constructor.
    """
    PetscComponent.__init__(self, name, facility="xdmf")
    self._loggingPrefix = "Xdmf "

    ModuleXdmf.__init__(self)
    return
Exemple #22
0
    def __init__(self, name="checkpointtimer"):
        """
    Constructor.
    """
        PetscComponent.__init__(self, name, facility="checkpointer")

        from pyre.units.time import second
        self.t = -8.9e+99 * second

        self.toplevel = None
        return
Exemple #23
0
 def __init__(self, name="formulation"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="formulation")
   # ModuleFormulation constructor called in base clase
   self.integrators = None
   self.constraints = None
   self.jacobian = None
   self.fields = None
   return
Exemple #24
0
 def __init__(self, name="formulation"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="formulation")
   # ModuleFormulation constructor called in base clase
   self.integrators = None
   self.constraints = None
   self.jacobian = None
   self.fields = None
   return
Exemple #25
0
  def __init__(self, name="checkpointtimer"):
    """
    Constructor.
    """
    PetscComponent.__init__(self, name, facility="checkpointer")

    from pyre.units.time import second
    self.t = -8.9e+99*second

    self.toplevel = None
    return
Exemple #26
0
 def __init__(self, name="timestep"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="time_step")
   from pyre.units.time import second
   self.timeScale = 1.0*second
   self.totalTime = 0.0*second
   self.startTime = 0.0*second
   self.dt = 0.0*second
   self.totalTimeN = 0.0 # Nondimensionalized total time
   self.startTimeN = 0.0 # Nondimensionalized start time
   self.dtN = 0.0 # Nondimenionalized time step
   return
Exemple #27
0
 def __init__(self, name="timestep"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="time_step")
   from pyre.units.time import second
   self.timeScale = 1.0*second
   self.totalTime = 0.0*second
   self.startTime = 0.0*second
   self.dt = 0.0*second
   self.totalTimeN = 0.0 # Nondimensionalized total time
   self.startTimeN = 0.0 # Nondimensionalized start time
   self.dtN = 0.0 # Nondimenionalized time step
   return
Exemple #28
0
  def __init__(self, name="outputmanager"):
    """
    Constructor.
    """
    PetscComponent.__init__(self, name, facility="outputmanager")
    self._loggingPrefix = "OutM "
    self._stepCur = 0
    self._stepWrite = None
    self._tWrite = None
    self.dataProvider = None
    self.vertexInfoFields = []
    self.vertexDataFields = []
    self.cellInfoFields = []
    self.cellDataFields = []

    self._createModuleObj()
    return
    def __init__(self, name="outputmanager"):
        """
    Constructor.
    """
        PetscComponent.__init__(self, name, facility="outputmanager")
        self._loggingPrefix = "OutM "
        self._stepCur = 0
        self._stepWrite = None
        self._tWrite = None
        self.dataProvider = None
        self.vertexInfoFields = []
        self.vertexDataFields = []
        self.cellInfoFields = []
        self.cellDataFields = []

        self._createModuleObj()
        return
Exemple #30
0
  def __init__(self, name="referencecell"):
    """
    Constructor.
    """
    PetscComponent.__init__(self, name, facility="reference_cell")

    self.geometry = None # Geometry of reference cell

    self.basisVert = None # numpy array w/basis fns at vertices
    self.basisDerivVert = None # numpy array w/basis fn derivs at vertices
    self.basisQuad = None # numpy array w/basis fns at quad pts
    self.basisDerivQuad = None # numpy array w/basis fn derivs at quad pts

    self.quadPts = None # numpy array w/coordinates of quad pts
    self.quadWts = None # numpy array w/wts of quad pts

    self.cellDim = None # dimension of reference cell
    self.numCorners = None # number of vertices in reference cell
    self.numQuadPts = None # number of quadrature points
    return
Exemple #31
0
    def __init__(self, name="referencecell"):
        """
    Constructor.
    """
        PetscComponent.__init__(self, name, facility="reference_cell")

        self.geometry = None  # Geometry of reference cell

        self.basisVert = None  # numpy array w/basis fns at vertices
        self.basisDerivVert = None  # numpy array w/basis fn derivs at vertices
        self.basisQuad = None  # numpy array w/basis fns at quad pts
        self.basisDerivQuad = None  # numpy array w/basis fn derivs at quad pts

        self.quadPts = None  # numpy array w/coordinates of quad pts
        self.quadWts = None  # numpy array w/wts of quad pts

        self.cellDim = None  # dimension of reference cell
        self.numCorners = None  # number of vertices in reference cell
        self.numQuadPts = None  # number of quadrature points
        return
Exemple #32
0
 def __init__(self, name="singleoutput"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="output")
   return
 def __init__(self, name="auxfieldstimedependent"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="auxiliary_fields")
     return
Exemple #34
0
 def __init__(self, name="solndisppres"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="soln_subfields")
     return
Exemple #35
0
 def __init__(self, name="kinsrc"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="eq_kinematic_src")
     return
Exemple #36
0
 def __init__(self, name="homogeneous"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="material")
   return
Exemple #37
0
 def __init__(self, name="formulation"):
   """Constructor.
   """
   PetscComponent.__init__(self, name, facility="jacobian_viewer")
   return
Exemple #38
0
 def __init__(self, name="cellfilter"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="cellfilter")
   return
 def __init__(self, name="derivedsubfieldselasticity"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="derived_subfields")
     return
Exemple #40
0
 def __init__(self, name="sliptimefn"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="sliptimefn")
   return
Exemple #41
0
 def __init__(self, name="outputobserver"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="outputobserver")
     return
Exemple #42
0
 def __init__(self, name="sliptimefn"):
     """
 Constructor.
 """
     PetscComponent.__init__(self, name, facility="sliptimefn")
     return
Exemple #43
0
 def __init__(self, name="perf_logger"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="perf_logger")
   return
Exemple #44
0
 def __init__(self, name="emptybin"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="empty_bin")
   return
Exemple #45
0
 def __init__(self, name="singlephysicsobserver"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="singlephysicsobserver")
     return
Exemple #46
0
 def __init__(self, name="quadrature"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="quadrature")
   return
 def __init__(self, name="auxfieldsisotropicpowerlaw"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="auxiliary_subfields")
     return
Exemple #48
0
 def __init__(self, name="emptybin"):
     """Constructor.
 """
     PetscComponent.__init__(self, name, facility="empty_bin")
     return
Exemple #49
0
 def __init__(self, name="foobar", facility="foo"):
   PetscComponent.__init__(self, name, facility)
   return
Exemple #50
0
 def __init__(self, name="formulation"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="jacobian_viewer")
   return
Exemple #51
0
 def __init__(self, name="singlerupture"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="rupture")
   return
Exemple #52
0
 def __init__(self, name="solution"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="solution")
     self.field = None
     return
Exemple #53
0
 def __init__(self, name="timedependent"):
   """
   Constructor.
   """
   PetscComponent.__init__(self, name, facility="time_dependent")
   return
Exemple #54
0
 def __init__(self, name="datawriter"):
     """Constructor.
     """
     PetscComponent.__init__(self, name, facility="datawriter")
     return