Skip to content

Commit

Permalink
Merge Pull Request #13791 from ccober6/Trilinos/Epetra-Missing-Tutori…
Browse files Browse the repository at this point in the history
…al-Code

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Epetra: Missing Tutorial Code'
PR Author: ccober6
  • Loading branch information
trilinos-autotester authored Feb 6, 2025
2 parents 9c5d962 + 3322509 commit 6d41c4b
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/epetra/doc/Doxyfile.options
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Include the global look and feel options
#
@INCLUDE_PATH = $(TRILINOS_HOME)/packages
@INCLUDE = common/Doxyfile
@INCLUDE = ../../common/Doxyfile
#
# Package options
#
Expand Down
8 changes: 7 additions & 1 deletion packages/epetra/doc/DoxyfileWeb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ INPUT = ../src ../../aztecoo/src index.doc \

FILE_PATTERNS = E*.h

EXAMPLE_PATH = ../example/petra_power_method
EXAMPLE_PATH = ../example/petra_power_method/cxx_main.cpp \
../example/Lessons/Lesson01-Init \
../example/Lessons/Lesson02-Map-Vector \
../example/Lessons/Lesson03-Power-Method \
../example/Lessons/Lesson04-Sparse-Matrix-Fill \
../example/Lessons/Lesson05-Redistribution


GENERATE_TAGFILE = ../../common/tag_files/epetra.tag
16 changes: 6 additions & 10 deletions packages/epetra/doc/build_docs
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ echo

doxygen DoxyfileWeb

echo
echo "Generating epetra/thyra doxygen documentation ..."
echo

doxygen ../thyra/doc/Doxyfile

echo
echo "Generating doxygen browser documentation for all of epetra ..."
echo
# -- Uncomment below if you want
# -- "Epetra Package Browser (Single Doxygen Collection)"
#echo
#echo "Generating doxygen browser documentation for all of epetra ..."
#echo

doxygen ../browser/doc/Doxyfile
#doxygen ../browser/doc/Doxyfile
4 changes: 2 additions & 2 deletions packages/epetra/src/Epetra_BasicRowMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class EPETRA_LIB_DLL_EXPORT Epetra_BasicRowMatrix: public Epetra_CompObject, pub
/*! @brief Returns the infinity norm of the global matrix.
Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
@warning This method is supported if and only if the Epetra_RowMatrix Object that was used to create this supports this method.
Expand All @@ -333,7 +333,7 @@ class EPETRA_LIB_DLL_EXPORT Epetra_BasicRowMatrix: public Epetra_CompObject, pub
/*! @brief Returns the one norm of the global matrix.
Returns the quantity \f$ \| A \|_1\f$ such that
\f[\| A \|_1= \max_{1\lej\len} \sum_{i=1}^m |a_{ij}| \f].
\f[\| A \|_1= \max_{1\leq j\leq n} \sum_{i=1}^m |a_{ij}| \f].
@warning This method is supported if and only if the Epetra_RowMatrix Object that was used to create this supports this method.
Expand Down
4 changes: 2 additions & 2 deletions packages/epetra/src/Epetra_CrsMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -1042,14 +1042,14 @@ or if the number of entries in this row exceed the Length parameter.

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f]
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f]
\warning The NormInf() method will not properly calculate the infinity norm for a matrix that has entries that are
replicated on multiple processors. */
double NormInf() const;

//! Returns the one norm of the global matrix.
/* Returns the quantity \f$ \| A \|_1\f$ such that
\f[\| A \|_1= \max_{1\lej\len} \sum_{i=1}^m |a_{ij}| \f].
\f[\| A \|_1= \max_{1\leq j\leq n} \sum_{i=1}^m |a_{ij}| \f].
\warning The NormOne() method will not properly calculate the one norm for a matrix that has entries that are
replicated on multiple processors.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/epetra/src/Epetra_FastCrsMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Epetra_FastCrsOperator: public Epetra_CompObject, public virtual Epetra_Op

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
*/
double NormInf() const {return(CrsMatrix_.NormInf());};

Expand Down
2 changes: 1 addition & 1 deletion packages/epetra/src/Epetra_InvOperator.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Epetra_InvOperator: public virtual Epetra_Operator {

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
\warning This method must not be called unless HasNormInf() returns true.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/epetra/src/Epetra_Operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class EPETRA_LIB_DLL_EXPORT Epetra_Operator {

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
\warning This method must not be called unless HasNormInf() returns true.
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/epetra/src/Epetra_RowMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ class EPETRA_LIB_DLL_EXPORT Epetra_RowMatrix: public virtual Epetra_Operator, pu

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\len} \sum_{i=1}^m |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq n} \sum_{i=1}^m |a_{ij}| \f].
*/
virtual double NormInf() const = 0;

//! Returns the one norm of the global matrix.
/* Returns the quantity \f$ \| A \|_1\f$ such that
\f[\| A \|_1= \max_{1\lej\len} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_1= \max_{1\leq j\leq n} \sum_{j=1}^n |a_{ij}| \f].
*/
virtual double NormOne() const = 0;

Expand Down
2 changes: 1 addition & 1 deletion packages/epetra/src/Epetra_SerialDenseOperator.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class EPETRA_LIB_DLL_EXPORT Epetra_SerialDenseOperator {

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
\warning This method must not be called unless HasNormInf() returns true.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/epetra/src/Epetra_SerialDenseSVD.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ class EPETRA_LIB_DLL_EXPORT Epetra_SerialDenseSVD : public virtual Epetra_Serial

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
\warning This method must not be called unless HasNormInf() returns true.
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/epetra/src/Epetra_VbrMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -890,14 +890,14 @@ class EPETRA_LIB_DLL_EXPORT Epetra_VbrMatrix : public Epetra_DistObject,

//! Returns the infinity norm of the global matrix.
/* Returns the quantity \f$ \| A \|_\infty\f$ such that
\f[\| A \|_\infty = \max_{1\lei\lem} \sum_{j=1}^n |a_{ij}| \f].
\f[\| A \|_\infty = \max_{1\leq i\leq m} \sum_{j=1}^n |a_{ij}| \f].
\warning The NormInf() method will not properly calculate the infinity norm for a matrix that has entries that are
replicated on multiple processors. */
double NormInf() const;

//! Returns the one norm of the global matrix.
/* Returns the quantity \f$ \| A \|_1\f$ such that
\f[\| A \|_1 = \max_{1\lej\len} \sum_{i=1}^m |a_{ij}| \f].
\f[\| A \|_1 = \max_{1\leq j\leq n} \sum_{i=1}^m |a_{ij}| \f].
\warning The NormOne() method will not properly calculate the one norm for a matrix that has entries that are
*/
double NormOne() const;
Expand Down

0 comments on commit 6d41c4b

Please sign in to comment.