4C

4C: A Comprehensive Multiphysics Simulation Framework

A new way for AI to search for data
View on GitHub
110GitHub stars
35,682commits on main
73forks
v2026.3.0latest release, 2026-08-19

C++ 98.4%, CMake 1%, Python 0.4%, Wolfram Language 0.1% · created 2024-07-05 · last push 2026-10-31

What XERJ indexed

Snapshot

7,607 files · 539.1 MB

Only src/mat, tests at commit 78b530a231 (2026-09-29). main is 212 commits ahead.

Selected work

Lea Köglmeier
@lkoeglmeier

“Modify material output in MAT_ConstraintMixture”. 8 files, 2,253 lines in tests, src/mat.

Licence

The repository

LGPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-16. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported LGPL-3.0 for 4C-multiphysics/4C on 2026-10-31, and the LICENSE file at commit 78b530a231 was reviewed as LGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Lea Köglmeier (@lkoeglmeier) has 1 selected repository on the hub.

Using XERJ with 4C

The prompt

Paste it into your AI agent. It clones 4C-multiphysics/4C at the pinned commit and indexes it on your machine.

Search the GitHub repository 4C-multiphysics/4C with XERJ (https://hub.xerj.org/corpus/4c-multiphysics--4c).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/4C-multiphysics/4C 4C && git -C 4C checkout 78b530a231c67afe70bcceaa1240ca8dd4f61b0e
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./4C --url http://127.0.0.1:9200 --prefix 4c --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: LGPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.