examples/ml_example_epetra_preconditioner_Maxwell.cpp File Reference

#include "Epetra_Map.h"
#include "Epetra_Vector.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_LinearProblem.h"
#include "AztecOO.h"
#include "ml_epetra_utils.h"
#include "ml_epetra_preconditioner.h"
#include "Teuchos_ParameterList.hpp"

Include dependency graph for ml_example_epetra_preconditioner_Maxwell.cpp:

Go to the source code of this file.

Classes

struct  user_partition
struct  user_Tmat_data

Defines

#define COMMUNICATOR   AZ_NOT_MPI
#define HORIZONTAL   1
#define VERTICAL   2

Functions

void user_partition_edges (struct user_partition *, struct user_partition *)
void user_partition_nodes (struct user_partition *Partition)
AZ_MATRIX * user_Ke_build (struct user_partition *)
AZ_MATRIX * user_Kn_build (struct user_partition *)
ML_Operator * user_T_build (struct user_partition *, struct user_partition *, ML_Operator *, ML_Comm *)
int main (int argc, char *argv[])
int invindex (int index, int *i, int *j, int n, int *hor_or_vert)
int northwest (int i, int j, int n)
int southeast (int i, int j, int n)
int southwest (int i, int j, int n)
int north (int i, int j, int n)
int south (int i, int j, int n)
int east (int i, int j, int n)
int west (int i, int j, int n)

Variables

int * reordered_node_externs = NULL


Define Documentation

#define COMMUNICATOR   AZ_NOT_MPI

Definition at line 68 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by main(), user_Ke_build(), user_Kn_build(), and user_partition_nodes().

#define HORIZONTAL   1

Definition at line 279 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by invindex(), user_Ke_build(), and user_T_build().

#define VERTICAL   2

Definition at line 280 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by invindex().


Function Documentation

int east ( int  i,
int  j,
int  n 
)

Definition at line 322 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_Ke_build().

int invindex ( int  index,
int *  i,
int *  j,
int  n,
int *  hor_or_vert 
)

Definition at line 327 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References HORIZONTAL, and VERTICAL.

Referenced by user_Ke_build(), and user_T_build().

int main ( int  argc,
char *  argv[] 
)

Definition at line 81 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References comm, COMMUNICATOR, user_partition::my_global_ids, user_partition::my_local_ids, user_partition::needed_external_ids, user_partition::Nglobal, user_Ke_build(), user_Kn_build(), user_partition_edges(), user_partition_nodes(), and user_T_build().

Here is the call graph for this function:

int north ( int  i,
int  j,
int  n 
)

Definition at line 319 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_Ke_build().

int northwest ( int  i,
int  j,
int  n 
)

Definition at line 301 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_T_build().

int south ( int  i,
int  j,
int  n 
)

Definition at line 320 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_Ke_build().

int southeast ( int  i,
int  j,
int  n 
)

Definition at line 304 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_T_build().

int southwest ( int  i,
int  j,
int  n 
)

Definition at line 302 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_T_build().

AZ_MATRIX * user_Ke_build ( struct user_partition  ) 

Definition at line 384 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References COMMUNICATOR, east(), HORIZONTAL, invindex(), user_partition::my_global_ids, user_partition::needed_external_ids, user_partition::Nghost, user_partition::Nglobal, user_partition::Nlocal, north(), south(), and west().

Referenced by main().

Here is the call graph for this function:

AZ_MATRIX * user_Kn_build ( struct user_partition  ) 

Definition at line 487 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References COMMUNICATOR, user_partition::my_global_ids, user_partition::needed_external_ids, user_partition::Nghost, user_partition::Nglobal, user_partition::Nlocal, and reordered_node_externs.

Referenced by main().

void user_partition_edges ( struct user_partition ,
struct user_partition  
)

Definition at line 353 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References user_partition::my_global_ids, user_partition::Nglobal, and user_partition::Nlocal.

Referenced by main().

void user_partition_nodes ( struct user_partition Partition  ) 

Definition at line 342 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References COMMUNICATOR, user_partition::my_global_ids, user_partition::Nghost, user_partition::Nglobal, and user_partition::Nlocal.

Referenced by main().

ML_Operator * user_T_build ( struct user_partition ,
struct user_partition ,
ML_Operator *  ,
ML_Comm *   
)

Definition at line 568 of file ml_example_epetra_preconditioner_Maxwell.cpp.

References HORIZONTAL, invindex(), user_partition::my_global_ids, user_partition::needed_external_ids, user_partition::Nglobal, user_partition::Nlocal, northwest(), reordered_node_externs, southeast(), and southwest().

Referenced by main().

Here is the call graph for this function:

int west ( int  i,
int  j,
int  n 
)

Definition at line 321 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_Ke_build().


Variable Documentation

int* reordered_node_externs = NULL

Definition at line 473 of file ml_example_epetra_preconditioner_Maxwell.cpp.

Referenced by user_Kn_build(), and user_T_build().


Generated on Fri Oct 26 13:35:13 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7