Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/fdtdjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ This entry stores associations between `materials` and `elements` using their re
+ `<materialId>`: A single integer indicating the `id` of a material which must be present in the `materials` list.
+ `<elementIds>`: A list of `id`s of the elements to which this material will be associated.


Material associations with bulk or surface materials such as `pec`, `pmc` or `isotropic` can be assigned to one or many elements of type `cell`. If the `cell` contains `intervals` representing points, these will be ignored.

```json
Expand All @@ -564,8 +563,9 @@ Associations with cables can contain the following inputs:
+ `<initialTerminalId>` and `<endTerminalId>` which must be present within the `materials` list of type. These entries indicate the lumped circuits connected at the ends of the cable.
+ `[initialConnectorId]` and `[endConnectorId]` entries which must point to materials of type `connector` and are assigned to the last segments of the corresponding ends of the cable.
+ Its `materialId` must point to a [`wire`](#wire), a [`shieldedMultiwire`](#shieldedMultiwire) or an [`unshieldedMultiwire`](#unshieldedMultiwire) material. If it points to a `shieldedMultiwire`, it must also contain an entry named `<containedWithinElementId>` which indicates the `polyline` in which this `shieldedMultiwire` is embedded.
+ For the case of `shieldedMultiwire` and `unshieldedMultiwire`, the size of `elementIds` must match the number of conductors in the multiwire. The element pointed by these ids must be of type `polyline`. These polylines must use coordinates which are in the same places and in the same order but have different ids; this is necessary to specify the different joints.

**Example:**
**Example of an `unshieldedMultiwire` composed by a single wire:**

```json
{
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ sudo apt install -y \


echo "=== Installing Python packages ==="
pip3 install --break-system-packages fortls
pip3 install --break-system-packages -r requirements.txt

COMPILER_VERSION="2025.1"

echo "=== Adding Intel oneAPI apt repository ==="
COMPILER_VERSION="2025.1"
KEY="GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB"
curl -fsSL "https://apt.repos.intel.com/intel-gpg-keys/$KEY" \
| sudo apt-key add -
Expand Down
14 changes: 13 additions & 1 deletion test/pyWrapper/test_full_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1667,4 +1667,16 @@ def test_bulk_current_outputs(tmp_path):
assert probeBulkYPlane.direction == 'y'
assert probeBulkZPlane.direction == 'z'
assert probeBulkYPoint.direction == 'y'
assert probeBulkZVolume.direction == 'z'
assert probeBulkZVolume.direction == 'z'

def test_conductors_forming_y_on_panel_bulk_current_is_not_nan(tmp_path):
fn = CASES_FOLDER + 'conductors_forming_y_on_panel/Conductors_50ohm_terminals.fdtd.json'
solver = FDTD(
input_filename=fn,
path_to_exe=SEMBA_EXE,
run_in_folder=tmp_path
)
solver.run()

probe_bulk = Probe(solver.getSolvedProbeFilenames("BC")[0])
assert not probe_bulk["current"].isnull().any()
Loading
Loading