return=`/usr/bin/osascript <<EOF
tell app "System Events"
Activate
- display dialog "This commands need to know where you installed the deal.II appliaction. If you moved it or renamed it, and you want to run this script from the command line, export the variable DEAL_II_BUNDLE to the correct path." buttons "OK" default button 1 with title "Location of deal.II changed." with icon 0
+ display dialog "This commands need to know where you installed the deal.II application. If you moved it or renamed it, and you want to run this script from the command line, export the variable DEAL_II_BUNDLE to the correct path." buttons "OK" default button 1 with title "Location of deal.II changed." with icon 0
end tell
EOF`
exit 1
cat << EOF
*** Warning: I did not find the deal.II installation in $DEAL_II_BUNDLE.
Could not set the environment to work with deal.II. Either reinstall
- or set the environment vairiable DEAL_II_BUNDLE to the correct value.
+ or set the environment variable DEAL_II_BUNDLE to the correct value.
Things may not work as you expect if you continue.
EOF
fi
export DYLD_LIBRARY_PATH=$DEAL_II_RESOURCES/lib:$DYLD_LIBRARY_PATH
export DEAL_II_DIR=$DEAL_II_RESOURCES
-# Do wathever the external library tells us to
+# Do whatever the external library tells us to
if [ -f $DEAL_II_RESOURCES/opt/external.conf ]; then
. $DEAL_II_RESOURCES/opt/external.conf
fi
#
# FEATURE_${feature}_DEPENDS (a variable)
# a variable which contains an optional list of other features
-# this feature depends on (and which have to be enbled for this feature
+# this feature depends on (and which have to be enabled for this feature
# to work.)
# Features must be given with short name, i.e. without DEAL_II_WITH_
#
# external dependencies.
#
# FEATURE_${feature}_ERROR_MESSAGE() (macro)
-# which should print a meaningfull error message (with FATAL_ERROR) for
+# which should print a meaningful error message (with FATAL_ERROR) for
# the case that no usable library was found.
# If not defined, a suitable default error message will be printed.
#
COMMENT "Switch CMAKE_BUILD_TYPE to Release"
)
- # Only mention release and debug targets if it is actuallay possible to
+ # Only mention release and debug targets if it is actually possible to
# switch between them:
IF(${DEAL_II_BUILD_TYPE} MATCHES "DebugRelease")
SET(_switch_targets
# well as compile definitions to use and against which deal.II library it
# should be linked against.
#
-# If the requested build type is not availabe (e.g. DEBUG request but
+# If the requested build type is not available (e.g. DEBUG request but
# deal.II was compiled with release mode only), the other available will be
# used instead.
#
#
# Gcc does not emit a warning if testing -Wno-... flags which leads to
# false positive detection. Unfortunately it later warns that an unknown
- # warning option is used if another warning is emited in the same
+ # warning option is used if another warning is emitted in the same
# compilation unit.
# Therefore we invert the test for -Wno-... flags:
#
# DEAL_II_LIBRARIES
# DEAL_II_LIBRARIES_DEBUG
# DEAL_II_LIBRARIES_RELEASE
- # depending on the "optmized", "debug" or "general" keyword
+ # depending on the "optimized", "debug" or "general" keyword
#
SET(_toggle "general")
FOREACH(_tmp ${${_feature}_LIBRARIES})
## ---------------------------------------------------------------------
#
-# Replace all occurences of "${flag}" with "${replacement}" in the string
+# Replace all occurrences of "${flag}" with "${replacement}" in the string
# variable.
#
# Usage:
## ---------------------------------------------------------------------
#
-# Remove all occurences of "${flag}" in the string variable.
+# Remove all occurrences of "${flag}" in the string variable.
#
# Usage:
# STRIP_FLAG(variable flag)
IF(NOT DEAL_II_ARPACK_WITH_PARPACK)
#
- # We have to avoid an unfortuante symbol clash with "libscalapack.so" -
+ # We have to avoid an unfortunate symbol clash with "libscalapack.so" -
# arpack happened to blindly copy a symbol name...
# https://github.com/opencollab/arpack-ng/issues/18
# https://github.com/opencollab/arpack-ng/pull/21
// make sense for the current configuration. For example, the list of VECTORS
// is going to contain PETSc vectors if so configured.
//
-// The second intput is read from the command line and consists of a sequence
+// The second input is read from the command line and consists of a sequence
// of statements of the following form:
// --------------------
// for (u,v:VECTORS; z:SCALARS) { f(u, z, const v &); }
)
#
-# Determine the last succesful stage of the test:
+# Determine the last successful stage of the test:
# (Possible values are CONFIGURE, BUILD, RUN, DIFF, PASSED)
#
ENDIF()
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE BOOL
- "Set the rpath of the library to the external link pathes on installation"
+ "Set the rpath of the library to the external link paths on installation"
)
MARK_AS_ADVANCED(CMAKE_INSTALL_RPATH_USE_LINK_PATH)
#
# Clang verbosely warns about not supporting all our friend declarations
- # (and consequently removing access control alltogether)
+ # (and consequently removing access control altogether)
#
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unsupported-friend")
# configuration to determine paths, locations and names. Some linkage and
# crosscompilation setup happens also in here.
#
-# Definitions marked with *) can be overriden by defining them to cache
+# Definitions marked with *) can be overridden by defining them to cache
# prior to the call of this file. This is done with the help of the
# SET_IF_EMPTY macro.
#
double_steps = 0.1; // any click in the editor will increase or decrease the value about double_steps
double_decimals = 14; // number of decimals shown in the editor
- int_steps = 1; // step value for increasing or decrasing integers
+ int_steps = 1; // step value for increasing or decreasing integers
}
XMLParameterReader (QTreeWidget *tree_widget);
/**
* This function reads the parameters from @p device into the <tt>tree_widget</tt>.
- * We use the QXmlStreaReader class for this.
+ * We use the QXmlStreamReader class for this.
* There must be a start element
* <code><ParameterHandler></code>
* and an end element <code></ParameterHandler></code>
XMLParameterWriter (QTreeWidget *tree_widget);
/**
* This function writes the parameter values stored in <tt>tree_widget</tt>
- * to @p device in XML format. We use the QXmlStreaWriter class
+ * to @p device in XML format. We use the QXmlStreamWriter class
* for this. The root element is
* <code><ParameterHandler></code>
*/
// Author: Guido Kanschat
// A little program reading a grid *.inp and writing it to *.eps.
-// Some more functionality should be added som time.
+// Some more functionality should be added some time.
#include <grid/tria.h>
#include <grid/grid_in.h>
<pre class="cmake">
FOREACH(element ${list})
...
-ENDFOREACH
+ENDFOREACH()
</pre>
Note: It is also possible to specify the list directly:
<pre class="cmake">