Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMC Suite for Linux

Scientific software package for electrodynamic simulation of planar structures

C++ · Qt 6 · OpenGL · Linux (x64)

English · Русский

FieldView — electromagnetic field visualization on Linux

Overview

TMC Suite is an authorial scientific software package by K. N. Klimov for electrodynamic computation and visualization of planar structures (H-polarization and X-mode). This repository is the Linux port of the graphical programs: the same six programs as on Windows, with the same windows, menus and dialogs, rebuilt on Qt 6 instead of MFC.

The computational code is not rewritten. It is the Windows source tree compiled by g++ as is, so the numbers stay the same and the file formats stay compatible: a task calculated on Windows opens here, and a result calculated here opens in the Windows version.

Components

Computational kernels

Program Executable Purpose
PlanarRT_H planarrt_h Solver, H-polarization
PlanarRT_X planarrt_x Solver, X-mode (incl. magnetized plasma)

Viewers & visualization

Program Executable Purpose
TMCGROUT tmcgrout Scattering-matrix plots
TMC_DN tmc_dn Radiation (directional) patterns
TMCROS tmcros Time-domain signals
FieldView fieldview Interactive OpenGL visualization of electromagnetic fields

Libraries

sfile95 · complex · exprint · TMCLibError · prepr · TMCIndan

Screenshots

Radiation pattern (TMC_DN) Scattering matrix (TMCGROUT)
TMC_DN TMCGROUT
Time-domain signal (TMCROS) Solver shell (PlanarRT_H)
TMCROS PlanarRT_H

Installation

Two ready-made builds are published in Releases:

File For
tmc-suite_1.0.0_amd64.deb Ubuntu 24.04 LTS, Debian and other systems with apt
TMC_Suite-1.0.0-x86_64.AppImage any other distribution — a single file, nothing to install
sudo apt install ./tmc-suite_1.0.0_amd64.deb

The AppImage carries all six programs, the Qt libraries, the fonts, the samples and the user manual inside one file. Which program to start is chosen by the first argument, or by the name the image is called under:

chmod +x TMC_Suite-1.0.0-x86_64.AppImage
./TMC_Suite-1.0.0-x86_64.AppImage                     # PlanarRT_H
./TMC_Suite-1.0.0-x86_64.AppImage fieldview field.ex  # any of the six programs
./TMC_Suite-1.0.0-x86_64.AppImage --help              # the list of programs
ln -s TMC_Suite-1.0.0-x86_64.AppImage tmcros && ./tmcros

Requirements: x64 and glibc 2.39 or newer — Ubuntu 24.04+, Debian 13, Fedora 40+, openSUSE Tumbleweed, Arch, Manjaro. On older systems (Ubuntu 22.04, Debian 12, RHEL 9) the image will not start: the programs are built on Ubuntu 24.04, and glibc is not backwards compatible. FieldView needs OpenGL. If the system complains about FUSE, add --appimage-extract-and-run.

Building from source

sudo apt install -y build-essential cmake ninja-build pkg-config \
     qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools \
     libgl1-mesa-dev libglu1-mesa-dev fonts-liberation

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

The programs appear in build/bin. A step-by-step guide, including building in Eclipse CDT, is in docs/build-guide/eclipse-cdt.md.

On a case-sensitive file system, run python3 tools/check_case.py before building: it compares every #include with the real file name on disk.

Headless use

Every program accepts a task on the command line, and the solver shells can calculate without windows at all:

planarrt_h -Arb /full/path/task.tpl

The output file names come from the task itself. See the “Headless mode” chapter of the user manual for exit codes and batch processing.

Input format

Simulations are described in .tpl text files (the TAMIC input language): geometry, materials, sources, frequency sweeps and output requests. The format is shared by all three platforms.

Relation to the other ports

Repository What it is
TMC Suite (Windows) the original package, MFC / OpenGL
this repository Linux, graphical programs on Qt 6
TMC Suite for Linux (console) Linux, computation kernels without windows
TMC Suite for macOS macOS, universal build for Apple Silicon and Intel

Documentation

Full documentation is published on the project website: user manual with screenshots, the .tpl task language reference, installation, architecture and API reference.

Author & links

  • Author of the scientific code: K. N. Klimov
  • Porting, build and documentation: M. S. Matsayan
  • Website: www.tamic.ru

License

See LICENSE.



TMC Suite для Linux

Научный пакет для электродинамического моделирования планарных структур

C++ · Qt 6 · OpenGL · Linux (x64)

English · Русский


О пакете

TMC Suite — авторский научный пакет К. Н. Климова для электродинамического расчёта и визуализации планарных структур (H-поляризация и X-мода). В этом репозитории — перенос графических программ на Linux: те же шесть программ, что и на Windows, с теми же окнами, меню и диалогами, собранные на Qt 6 вместо MFC.

Вычислительный код не переписывался. Это исходники Windows-версии, скомпилированные g++ как есть, поэтому числа остаются теми же, а форматы файлов — совместимыми: задание, посчитанное на Windows, открывается здесь, а результат, посчитанный здесь, открывается в Windows-версии.

Состав

Счётные ядра

Программа Файл Назначение
PlanarRT_H planarrt_h расчёт, H-поляризация
PlanarRT_X planarrt_x расчёт, X-мода (в том числе замагниченная плазма)

Просмотр результатов

Программа Файл Назначение
TMCGROUT tmcgrout характеристики матрицы рассеяния
TMC_DN tmc_dn диаграммы направленности
TMCROS tmcros сигналы во времени
FieldView fieldview визуализация электромагнитных полей на OpenGL

Библиотеки

sfile95 · complex · exprint · TMCLibError · prepr · TMCIndan

Снимки окон

Диаграмма направленности (TMC_DN) Матрица рассеяния (TMCGROUT)
TMC_DN TMCGROUT
Сигнал во времени (TMCROS) Оболочка счётного ядра (PlanarRT_H)
TMCROS PlanarRT_H

Установка

Готовые сборки опубликованы в разделе Releases:

Файл Кому
tmc-suite_1.0.0_amd64.deb Ubuntu 24.04 LTS, Debian и прочие системы с apt
TMC_Suite-1.0.0-x86_64.AppImage любому другому дистрибутиву — один файл, устанавливать ничего не нужно
sudo apt install ./tmc-suite_1.0.0_amd64.deb

В образе AppImage лежат все шесть программ, библиотеки Qt, шрифты, образцы заданий и руководство пользователя. Какую программу запускать, задаёт первый довод либо имя, под которым вызван образ:

chmod +x TMC_Suite-1.0.0-x86_64.AppImage
./TMC_Suite-1.0.0-x86_64.AppImage                      # PlanarRT_H
./TMC_Suite-1.0.0-x86_64.AppImage fieldview поле.ex    # любая из шести программ
./TMC_Suite-1.0.0-x86_64.AppImage --help               # список программ
ln -s TMC_Suite-1.0.0-x86_64.AppImage tmcros && ./tmcros

Требования: x64 и glibc 2.39 или новее — Ubuntu 24.04+, Debian 13, Fedora 40+, openSUSE Tumbleweed, Arch, Manjaro. На более старых системах (Ubuntu 22.04, Debian 12, RHEL 9) образ не запустится: программы собраны на Ubuntu 24.04, а glibc вниз не совместима. Для FieldView нужен OpenGL. Если система ругается на FUSE, добавьте ключ --appimage-extract-and-run.

Сборка из исходников

sudo apt install -y build-essential cmake ninja-build pkg-config \
     qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools \
     libgl1-mesa-dev libglu1-mesa-dev fonts-liberation

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

Программы появятся в build/bin. Пошаговая инструкция, в том числе сборка в Eclipse CDT, — в docs/build-guide/eclipse-cdt.md.

На файловой системе, различающей регистр имён, перед сборкой полезно выполнить python3 tools/check_case.py: инструмент сверяет каждый #include с настоящим именем файла.

Работа без окон

Любой программе можно передать задание в командной строке, а оболочки счётных ядер умеют считать вообще без окон:

planarrt_h -Arb /полный/путь/задание.tpl

Имена выходных файлов берутся из самого задания. Коды возврата и обработка нескольких заданий подряд описаны в разделе руководства «Работа без окон».

Формат задания

Расчёт описывается текстовым файлом .tpl (входной язык TAMIC): геометрия, материалы, источники, частотные свипы и состав выходных данных. Формат общий для всех трёх систем.

Связь с другими сборками

Репозиторий Что это
TMC Suite (Windows) исходный пакет, MFC / OpenGL
этот репозиторий Linux, графические программы на Qt 6
TMC Suite для Linux (консоль) Linux, счётные ядра без окон
TMC Suite для macOS macOS, универсальная сборка для Apple Silicon и Intel

Документация

Полная документация опубликована на сайте проекта: руководство пользователя со снимками окон, справочник по языку заданий .tpl, установка, архитектура и документация на код.

Авторы и ссылки

  • Автор научного кода: К. Н. Климов
  • Портирование, сборка, документация: М. С. Мацаян
  • Сайт: www.tamic.ru

Лицензия

См. LICENSE.

About

TMC Suite for Linux - scientific package for electrodynamic simulation of planar structures (H-polarization and X-mode). Six programs on C++/Qt 6/OpenGL, ported from Windows/MFC, .deb package for Ubuntu 24.04. File formats compatible with the Windows version.

Topics

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages