[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-469481-105":59,"doc-detail-469481-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","tvb-c-a-fast-and-flexible-back-end-for-the-virtual-brain","TVB C++: A Fast and Flexible Back-End for The Virtual Brain","","Introduces TVB C++, a streamlined and fast C++ back-end for The Virtual Brain (TVB), a benchmark platform for full-brain simulation. The design prioritizes computational speed while preserving TVB’s flexibility and ease of use, enabling users to run the same code with improved parallelism. Positioned as a TVB-compatible companion, TVB C++ supports large-scale simulations and high-performance computing environments, facilitating individualized models and tailored solutions at the patient level.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/tvb-c-a-fast-and-flexible-back-end-for-the-virtual-brain/469481/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/tvb-c-a-fast-and-flexible-back-end-for-the-virtual-brain/469481.png","ImageObject",300,407,{"name":92,"@type":93},"Well Done","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-21","2026-09-30",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is TVB C++ and how does it relate to The Virtual Brain (TVB)?","Question",{"text":112,"@type":113},"TVB C++ is a TVB-compatible C++ back-end that integrates with the existing TVB implementation. It complements TVB by providing a faster, performance-oriented execution environment.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does TVB C++ balance speed with usability?",{"text":117,"@type":113},"It is engineered with speed as the primary focus while retaining the flexibility and ease of use characteristic of the original TVB platform. Users can configure it to run the same code as TVB with enhanced performance and parallelism.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is TVB C++ important for large-scale brain simulations and personalized models?",{"text":121,"@type":113},"It addresses computational speed limitations in TVB when simulating extensive networks or large-scale workloads. This enables broad use of individualized models, supporting tailored solutions at the patient level and advancing precision medicine.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},469481,1791506422,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},5909892210082,"https://ap-avatar.wpscdn.com/avatar/56001069da27c9f41e8?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789614185077863061","RESEARCH ARTICLE  \n[www.advancedscience.com](www.advancedscience.com)  \nTVB C++: A Fast and Flexible Back-End for The Virtual Brain  \nIgnacio Martín, Gorka Zamora-López, Jan Fousek, Michael Schirner, Petra Ritter, Viktor Jirsa, Gustavo Deco, and Gustavo Patow*  \nThis study introduces TVB C++, a streamlined and fast C++ Back-End for The Virtual Brain (TVB), a renowned platform and a benchmark tool for  \nfull-brain simulation. TVB C++ is engineered with speed as a primary focus while retaining the ﬂexibility and ease of use characteristic of the original TVB platform. Positioned as a complementary tool, TVB serves as a prototyping platform, whereas TVB C++ becomes indispensable when performance is paramount, particularly for large-scale simulations and leveraging advanced computation facilities like supercomputers. Developed as a TVB-compatible Back-End, TVB C++ seamlessly integrates with the original TVB implementation, facilitating eﬀortless usage. Users can easily conﬁgure TVBC++ to execute the same code as in TVB but with enhanced performance and parallelism capabilities. As a consequence, TVB C++ will enable the widespread use of individualized models that will open the possibility of designed tailored solutions at the individual patient level.  \nWhile various frameworks exist, including those focusing on microscopic neuron models[1–5] or mesoscopic systems,[6,7] the emphasis on whole-brain modeling has led to the emergence of platforms like The Virtual Brain (TVB) . [8–13] TVB has garnered widespread recognition for its ability to simulate, analyze, and infer neurophysiological mechanisms across diﬀerent brain scales. Despite its great versatility, TVB faces a competitive challenge regarding computational speed compared to other simulation platforms, especially when dealing with extensive networks or large-scale simulations. Several approaches have been proposed in recent years to boost TVB’s performance, e.g., by porting speciﬁc models into the C language [14] or interfacing with CUDA. [15,16] However, these attempts lacked the TVB’s ﬂexibility because  \n1. Introduction  \nIn recent years, technological advancements in noninvasive neuroimaging have opened unprecedented windows into the inner workings of the human brain. Techniques such as electroencephalography (EEG), magnetoencephalography (MEG), fMRI (functional Magnetic Resonance Imaging), and Positron Emission Tomography (PET) have revolutionized our understanding of perception, cognition, and behavior, enabling detailed analyses from the microscopic to the macroscopic scale.  \nWithin this landscape, computational tools have played a pivotal role in unraveling the complexities of neural dynamics.  \nthey were restricted to speciﬁc scientiﬁc questions they wanted to address, without resulting in a general setting with the TVB’s ﬂexibility.  \nHere, we introduce TVB C++, a groundbreaking addition to the TVB family that simultaneously addresses these limitations. Developed upon the powerful C++ programming language and the advanced Eigen numeric library,[17] TVB C++ oﬀers great computational performance without compromising on ﬂexibility or ease of use. Unlike previous eﬀorts—focused solely on performance—TVB C++ takes a holistic approach by retaining the same structure of the original TVB platform. This allows for TVB C++to seamlessly integrate with TVB through Python bind-  \nI. Martín, G. Patow ViRVIG  \nUniversitat de Girona Girona 17003, Spain  \nE-mail: [gustavo.patow@udg.edu](gustavo.patow@udg.edu)  \nG. Zamora-López, G. Deco, G. Patow  \nCenter for Brain and Cognition, Computational Neuroscience Group, Department of Information and Communication Technologies Universitat Pompeu Fabra  \nBarcelona 08005, Spain  \nThe ORCID identiﬁcation number(s) for the author(s) of this article  \ncan be found under [https://doi.org/10.1002/advs.202406440](https://doi.org/10.1002/advs.202406440)[ ](https://doi.org/10.1002/advs.202406440)© 2025 The Author(s). Advanced Science published by Wi","cbCaiksrWfuqZR6v","https://ap.wps.com/l/cbCaiksrWfuqZR6v","pdf",4600122,18,"English","# Introduction\n## Overview of noninvasive neuroimaging\n## Role of computational tools in neural dynamics\n## Motivation for TVB C++\n## Design and integration with TVB\n## Impact on large-scale simulations and personalized models","[{\"question\":\"What is TVB C++ and how does it relate to The Virtual Brain (TVB)?\",\"answer\":\"TVB C++ is a TVB-compatible C++ back-end that integrates with the existing TVB implementation. It complements TVB by providing a faster, performance-oriented execution environment.\"},{\"question\":\"How does TVB C++ balance speed with usability?\",\"answer\":\"It is engineered with speed as the primary focus while retaining the flexibility and ease of use characteristic of the original TVB platform. Users can configure it to run the same code as TVB with enhanced performance and parallelism.\"},{\"question\":\"Why is TVB C++ important for large-scale brain simulations and personalized models?\",\"answer\":\"It addresses computational speed limitations in TVB when simulating extensive networks or large-scale workloads. This enables broad use of individualized models, supporting tailored solutions at the patient level and advancing precision medicine.\"}]","TVB C++: A Fast and Flexible Back-End for The Virtual Brain | PDF",1790775709,45,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8f542ca5ad8798d807153923a8eec60d.webp",983,1291,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/53a9559d1fd88312a017be9e9a911752.webp",982,1290,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e39a5cdcf73149dfaa10edf310c37503.webp",981,1289,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/42da5692e080ce190971e15697654afb.webp",980,1287]