Introduction to Twedit++-CC3D

Slides:



Advertisements
Similar presentations
Refresher Instruction Guide Strategic Planning and Assessment Module
Advertisements

Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Hands On: Configuring Windows XP Home for Networking Chapter 1b Panko’s Business Data Networks and Telecommunications, 6 th edition Copyright 2007 Prentice-Hall.
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Using the Visual Basic Editor Visual Basic for Applications 1.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Adding metadata to intranet documents Please note: this is a temporary test document for use in internal testing only.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
Using Microsoft Outlook: Basics. Objectives Guided Tour of Outlook –Identification –Views Basics –Contacts –Folders –Web Access Q&A.
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Compliance Assist Refresher Instruction Guide Adding or Editing Unit/College Strategic Goals.
1 After completing this lesson, you will be able to: Format numeric data. Adjust the size of rows and columns. Align cell content. Create and apply conditional.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
How to Make a Pie Chart to show Religious and Ethnic Breakdown of a Country.
Excel 2007 Part (2) Dr. Susan Al Naqshbandi
BETTER MANAGING OUR TIME KRONOS TIMEKEEPER SCHEDULING TRAINING YMCA OF METROPOLITAN DALLAS August 30, 2015.
WorkPlace Pro Utilities.
Creating a Web Site to Gather Data and Conduct Research.
 The BPEL Module project is a group of source files which includes BPEL files, WSDL files, and XML schema files. Within a BPEL Module project, you can.
Microsoft Office Outlook 2013 Microsoft Office Outlook 2013 Courseware # 3252 Lesson 3: Working with People.
Intro to MFC. Open VS and create new project 1)Open MS Visual Studio 2008 Professional (It must be the Professional Edition, the Express Edition will.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
LLRP GUI Client User Guide
Teach Yourself Windows 95 Module 5: Customizing and Maintaining Your Computer.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
1. Chapter 25 Protecting and Preparing Documents.
Introduction of Geoprocessing Topic 7a 4/10/2007.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
Salt Suite User Guide (Copyright Salt ).
Key Applications Module Lesson 21 — Access Essentials
Lesson 12: Creating a Manual and Using Mail Merge.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
® IBM Software Group Appendix C - Code Reuse - Program Templates - Code Snippets - Code Templates.
Form letters Mailing labels Envelopes Catalog  To activate the Mail Merge click Mail Merge Wizard on the Tools/Letters and Mailings menu. Mail Merge.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
Microsoft Outlook 2010 Chapter 3 Managing Contacts and Personal Contact Information with Outlook.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Lesson 10 - Mail Merge and Reviewing Documents Advanced Microsoft Word.
Compliance Assist Refresher Instruction Guide Adding or Editing Student Learning Outcomes.
Version RAILER SMS RAILER RED (Remote Entry Database)
FIRST COURSE Word Tutorial 6 Using Mail Merge. Objectives Learn about the mail merge process Use the Mail Merge task pane Select a main document Create.
Dreamweaver MX. 2 Tools for Code Editing (p. 366) n An HTML editor like Dreamweaver writes most of the code you need, but at times you will need to perform.
Merging Data into a Letter. Start with a letter that has places where you want to merge individual data ready to go.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Microsoft PowerPoint Prepared by the Academic Faculty Members of IT.
Introduction of Geoprocessing Lecture 9 3/24/2008.
Build a database II: Create tables for a new Access database Create your tables In a relational database, tables store your data. Your data doesn’t “live”
01 OPTIONS 01 OPTIONS Lorem Ipsum In play mode, click the image in the tab to the left. This will load the slide for the option clicked. Be sure to edit.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Perform a complete mail merge Lesson 14 By the end of this lesson you will be able to complete the following: Use the Mail Merge Wizard to perform a basic.
Mail Merge Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter.
DRAWING LINES To draw lines click View in the Main Menu Toolbar -> Toolbars and check the Editor option. The Editor toolbar will appear amongst the toobars.
Word Tutorial 6 Using Mail Merge
Adding Assignments and Learning Units to Your TSS Course
Web Page Design ICT Ms. McGrew.
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Energy Customer Collaboration Documentum
Using Cascading Style Sheets (CSS)
Presentation transcript:

Introduction to Twedit++-CC3D Maciej Swat

Why use Twedit++-CC3D CompuCell3D customized version of twedit++ programmer’s editor Simplifies development of simulations by providing Simulation wizard, Python and CC3DML code assistants Speeds-up significantly development of CC3D C++ extension modules (plugins and steppables). It sometimes makes sense to replace slow Python steppable with fast C++ counterpart

Starting New CC3D project

Simulation Wizard In simulation wizard you specify cell types, diffusing fields, cell properties etc… If you forget something , do not worry, Twedit++-CC3D code assistants will help you put everything you need into your simulation code

Double-clicking on project name opens all project files in Twedit++

Cell behaviors can be added after completing wizard-based simulation autogeneration. Here we add ExternalPotential plugin which exerts a force on cells. Most CC3D modules are covered. If a plugin is missing from pull down menu it can be added to Twedit pretty easily. Please let us know and we will do it for you.

Adding/removing cell types is most hated operation because it requires modification of many simulation components. Twedit++ makes this operation pretty painless and it does so without using sedatives: Go to CC3DML->Plugins->CellType and insert new type. Important: After adding removing cell type you have to change CC3D module definitions which use cell type names

Changing plugin definition which list cell types is relatively easy Changing plugin definition which list cell types is relatively easy . Most plugins are supported although occasionally you may need to do some typing: For Contact plugin go to CC3DML->Plugins->Contact and you will get a choice of either replacing or commenting out existing code (if the code for contact is already there)

New code for contact includes new types we have defined but contact energy values between types present in the old simulation code are preserved – less typing for you

Python CC3D code assistant inserts code snippets for the most common CC3D tasks. Here we add iteration over cell neighbors

Cell neighbor iteration snippet Cell neighbor iteration snippet. We usually have to do small edits to adapt it to our simulation

And we also must make sure that we insert NeighborTracker plugin in CC3DML:

One-click conversion of CC3DML to equivalent Python syntax Right-click (in the CC3D Simulation panel) on the .xml file you wish to convert and choose ‘Convert XML to Python’. There are two things worth noticing here: 1. One-click solutions in reality require multiple clicks 2. configureSimulation function gets generated as a new tab. You may need to copy code from here and paste it in other document.

Generating CC3D C++ extension modules using Twedit++ Writing plugin or steppable code in C++ is often a mechanistic process – at least when you being. It can be also very tedious Up to 10 files need to be generated or modified Twedit++ autogenerates a working plugin or steppable for you freeing you from error-prone manual process Twedit++ has C++ code assistant which is not as comprehensive as Python or CC3DML assistants but we can certainly change it. Your input is greatly appreciated C++ Code Generated in Twedit can be then edited in any editor you wish including Twedit++

Generating CC3D C++ extension module After clicking OK on the Generate CC3D C++ Module dialog box Twedit++ will generate/modify about 10 files and open them as separate tabs. Go to CC3D C++ menu and choose Generate New Module Pick appropriate directory for the module – here we develop plugin so we pick ‘plugins’ subdirectory in the CC3D source tree You can attach extra cell attributes and make your module Python callable

Autogenerated CC3D C++ plugin code