你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Removed un-necessary concatenations while using f-strings.
这个提交包含在:
@@ -205,15 +205,15 @@ class Triangle(UserObjectGeometry):
|
||||
dielectricsmoothing = "on" if averaging else "off"
|
||||
logger.info(
|
||||
f"{self.grid_name(grid)}Triangle with coordinates "
|
||||
+ f"{p4[0]:g}m {p4[1]:g}m {p4[2]:g}m, {p5[0]:g}m {p5[1]:g}m "
|
||||
+ f"{p5[2]:g}m, {p6[0]:g}m {p6[1]:g}m {p6[2]:g}m and thickness "
|
||||
+ f"{thickness:g}m of material(s) {', '.join(materialsrequested)} "
|
||||
+ f"created, dielectric smoothing is {dielectricsmoothing}."
|
||||
f"{p4[0]:g}m {p4[1]:g}m {p4[2]:g}m, {p5[0]:g}m {p5[1]:g}m "
|
||||
f"{p5[2]:g}m, {p6[0]:g}m {p6[1]:g}m {p6[2]:g}m and thickness "
|
||||
f"{thickness:g}m of material(s) {', '.join(materialsrequested)} "
|
||||
f"created, dielectric smoothing is {dielectricsmoothing}."
|
||||
)
|
||||
else:
|
||||
logger.info(
|
||||
f"{self.grid_name(grid)}Triangle with coordinates "
|
||||
+ f"{p4[0]:g}m {p4[1]:g}m {p4[2]:g}m, {p5[0]:g}m {p5[1]:g}m "
|
||||
+ f"{p5[2]:g}m, {p6[0]:g}m {p6[1]:g}m {p6[2]:g}m of material(s) "
|
||||
+ f"{', '.join(materialsrequested)} created."
|
||||
f"{p4[0]:g}m {p4[1]:g}m {p4[2]:g}m, {p5[0]:g}m {p5[1]:g}m "
|
||||
f"{p5[2]:g}m, {p6[0]:g}m {p6[1]:g}m {p6[2]:g}m of material(s) "
|
||||
f"{', '.join(materialsrequested)} created."
|
||||
)
|
||||
|
在新工单中引用
屏蔽一个用户