Skip to content

Commit

Permalink
boundary spec hint the validation type
Browse files Browse the repository at this point in the history
  • Loading branch information
JunchengXue committed Dec 6, 2022
1 parent da5108f commit d2196e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tidy3d/components/boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,14 @@ class Boundary(Tidy3dBaseModel):

plus: BoundaryEdgeType = pd.Field(
Periodic(),
discriminator="type",
title="Plus BC",
description="Boundary condition on the plus side along a dimension.",
)

minus: BoundaryEdgeType = pd.Field(
Periodic(),
discriminator="type",
title="Minus BC",
description="Boundary condition on the minus side along a dimension.",
)
Expand Down

0 comments on commit d2196e5

Please sign in to comment.