You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Choose a category which fits your example (adaptivity, adjoints, etc), create a new directory, and add the necessary source and header files.
Copy a Makefile.am from one of the other examples (e.g. examples/adjoints/adjoints_ex1/Makefile.am) to your new example. Fill in the install_dir, data, and CLEANFILES variables with values relevant to your example.
Copy over a run.sh from one of the other examples (e.g. examples/adjoints/adjoints_ex1/run.sh) and update the example_name and example_dir variables appropriately.
Add a line to the SUBDIRS variable in examples/Makefile.am for your new example.
Add a line to the AC_CONFIG_FILES section of top-level configure.ac for your new example.