Exemple #1
0
    def preinitialize(self, problem):
        """Setup material.
        """
        Physics.preinitialize(self, problem)

        ModuleMaterial.setMaterialId(self, self.materialId)
        ModuleMaterial.setDescriptiveLabel(self, self.label)
        return
Exemple #2
0
    def preinitialize(self, problem):
        """Setup boundary condition.
        """
        Physics.preinitialize(self, problem)

        ModuleBoundaryCondition.setMarkerLabel(self, self.label)
        ModuleBoundaryCondition.setSubfieldName(self, self.field)
        return
Exemple #3
0
    def preinitialize(self, problem):
        """Setup fault.
        """
        Physics.preinitialize(self, problem)

        ModuleFaultCohesive.setInterfaceId(self, self.matId)
        ModuleFaultCohesive.setSurfaceMarkerLabel(self, self.label)
        ModuleFaultCohesive.setBuriedEdgesMarkerLabel(self, self.edge)
        ModuleFaultCohesive.setRefDir1(self, self.refDir1)
        ModuleFaultCohesive.setRefDir2(self, self.refDir2)
        return
Exemple #4
0
 def __init__(self, name="fault"):
     """Constructor.
     """
     Physics.__init__(self, name)
     return
Exemple #5
0
 def _configure(self):
     """Setup members using inventory.
     """
     Physics._configure(self)
     return
Exemple #6
0
 def __init__(self, name="material"):
     """Constructor.
     """
     Physics.__init__(self, name)
     return
Exemple #7
0
 def __init__(self, name="boundarycondition"):
     """Constructor.
     """
     Physics.__init__(self, name, facility="boundary_condition")
     return