diff --git a/docs/source/usersguide/input.rst b/docs/source/usersguide/input.rst index da9896fbb0..d1a01b65be 100644 --- a/docs/source/usersguide/input.rst +++ b/docs/source/usersguide/input.rst @@ -906,6 +906,10 @@ Each ```` element can have the following attributes or sub-elements: *Default*: "transmission" + :periodic_surface_id: + If a periodic boundary condition is applied, this attribute identifies the + ``id`` of the corresponding periodic sufrace. + The following quadratic surfaces can be modeled: :x-plane: diff --git a/src/relaxng/geometry.rnc b/src/relaxng/geometry.rnc index 6cb6f7c158..35d5ef8b2a 100644 --- a/src/relaxng/geometry.rnc +++ b/src/relaxng/geometry.rnc @@ -23,7 +23,7 @@ element geometry { (element coeffs { list { xsd:double+ } } | attribute coeffs { list { xsd:double+ } }) & (element boundary { ( "transmit" | "reflective" | "vacuum" | "periodic" ) } | attribute boundary { ( "transmit" | "reflective" | "vacuum" | "periodic" ) })? & - (element opposite { xsd:int } | attribute opposite { xsd:int })? + (element periodic_surface_id { xsd:int } | attribute periodic_surface_id { xsd:int })? }* & element lattice { diff --git a/src/relaxng/geometry.rng b/src/relaxng/geometry.rng index 3ff0f67c69..b53d0e8db8 100644 --- a/src/relaxng/geometry.rng +++ b/src/relaxng/geometry.rng @@ -188,10 +188,10 @@ - + - +