当前位置: 首页>>代码示例>>Python>>正文


Python ElasticMaterial.__init__方法代码示例

本文整理汇总了Python中ElasticMaterial.ElasticMaterial.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python ElasticMaterial.__init__方法的具体用法?Python ElasticMaterial.__init__怎么用?Python ElasticMaterial.__init__使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ElasticMaterial.ElasticMaterial的用法示例。


在下文中一共展示了ElasticMaterial.__init__方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="maxwellisotropic3d"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "lambda", "density", "stable_dt_implicit", "stable_dt_explicit", "maxwell_time"],
           'data': ["total_strain", "viscous_strain", "stress", "cauchy_stress"]}}
   self._loggingPrefix = "MaMx3D "
   return
开发者ID:geodynamics,项目名称:pylith,代码行数:16,代码来源:MaxwellIsotropic3D.py

示例2: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="elasticplanestrain"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "lambda", "density", "stable_dt_implicit", "stable_dt_explicit",],
           'data': ["total_strain", "stress", "cauchy_stress"]}}
   self._loggingPrefix = "MaPlSn "
   return
开发者ID:rishabhdutta,项目名称:pylith,代码行数:16,代码来源:ElasticPlaneStrain.py

示例3: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="druckerprager3d"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "lambda", "density", "stable_dt_implicit", "stable_dt_explicit",
                    "alpha_yield", "beta", "alpha_flow"],
           'data': ["total_strain", "stress", "plastic_strain"]}}
   self._loggingPrefix = "MaDP3D "
   return
开发者ID:jjle,项目名称:pylith,代码行数:17,代码来源:DruckerPrager3D.py

示例4: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="powerlaw3d"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "lambda", "density", "stable_dt_implicit", "stable_dt_explicit",
                    "reference_strain_rate", "reference_stress",
                    "power_law_exponent"],
           'data': ["total_strain", "stress", "viscous_strain"]}}
   self._loggingPrefix = "MaPL3D "
   return
开发者ID:youngsolar,项目名称:pylith,代码行数:18,代码来源:PowerLaw3D.py

示例5: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="genmaxwellplanestrain"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "lambda", "density", "stable_dt_implicit", "stable_dt_explicit",
                    "shear_ratio", "maxwell_time"],
           'data': ["stress_zz_initial",
                    "total_strain", "stress",
                    "viscous_strain_1", 
                    "viscous_strain_2", 
                    "viscous_strain_3",
                    ]}}
   self._loggingPrefix = "MaGM2D "
   return
开发者ID:jjle,项目名称:pylith,代码行数:22,代码来源:GenMaxwellPlaneStrain.py

示例6: __init__

# 需要导入模块: from ElasticMaterial import ElasticMaterial [as 别名]
# 或者: from ElasticMaterial.ElasticMaterial import __init__ [as 别名]
 def __init__(self, name="genmaxwellqpqsisotropic3d"):
   """
   Constructor.
   """
   ElasticMaterial.__init__(self, name)
   self.availableFields = \
       {'vertex': \
          {'info': [],
           'data': []},
        'cell': \
          {'info': ["mu", "k", "density", "stable_dt_implicit", "stable_dt_explicit",
                    "shear_ratio", 
                    "bulk_ratio",
                    "maxwell_time_shear",
                    "maxwell_time_bulk"],
           'data': ["total_strain", "stress", "cauchy_stress",
                    "viscous_deviatoric_strain", 
                    "viscous_mean_strain", 
                    ]}}
   self._loggingPrefix = "MaGQ3D "
   return
开发者ID:geodynamics,项目名称:pylith,代码行数:23,代码来源:GenMaxwellQpQsIsotropic3D.py


注:本文中的ElasticMaterial.ElasticMaterial.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。