Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
rad_fe_adj_fill.cpp File Reference
#include "Sacado_No_Kokkos.hpp"
#include "Sacado_tradvec.hpp"
#include "Teuchos_Time.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
Include dependency graph for rad_fe_adj_fill.cpp:

Go to the source code of this file.

Classes

struct  ElemData
 

Typedefs

typedef Sacado::Rad::ADvar
< double > 
RadType
 
typedef Sacado::RadVec::ADvar
< double > 
VRadType
 

Functions

template<class FadType >
void fad_init_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &x, const std::vector< std::vector< double > > &w, std::vector< FadType > &x_fad, std::vector< std::vector< double > > &w_local)
 
void rad_init_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &x, const std::vector< std::vector< double > > &w, std::vector< RadType > &x_rad, std::vector< std::vector< double > > &w_local)
 
void vrad_init_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &x, const std::vector< std::vector< double > > &w, std::vector< VRadType > &x_rad, double **w_local)
 
void analytic_init_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &x, const std::vector< std::vector< double > > &w, std::vector< double > &x_local, std::vector< std::vector< double > > &w_local)
 
template<class T >
void template_element_fill (const ElemData &e, unsigned int neqn, const std::vector< T > &x, std::vector< T > &u, std::vector< T > &du, std::vector< T > &f)
 
void analytic_element_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &x, std::vector< std::vector< double > > &w, std::vector< double > &u, std::vector< double > &du, std::vector< double > &f, std::vector< std::vector< double > > &adj)
 
template<class FadType >
void fad_process_fill (const ElemData &e, unsigned int neqn, const std::vector< std::vector< double > > &w_local, const std::vector< FadType > &f_fad, std::vector< double > &f, std::vector< std::vector< double > > &adj)
 
void rad_process_fill (const ElemData &e, unsigned int neqn, std::vector< std::vector< double > > &w_local, std::vector< RadType > &x_rad, std::vector< RadType > &f_rad, std::vector< RadType * > &ff_rad, std::vector< double > &f, std::vector< std::vector< double > > &adj)
 
void vrad_process_fill (const ElemData &e, unsigned int neqn, unsigned int ncol, std::vector< std::size_t > &vn, double **w_local, std::vector< VRadType > &x_rad, std::vector< VRadType > &f_rad, VRadType ***vf_rad, std::vector< double > &f, std::vector< std::vector< double > > &adj)
 
void analytic_process_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &f_local, const std::vector< std::vector< double > > &adj_local, std::vector< double > &f, std::vector< std::vector< double > > &adj)
 
void residual_process_fill (const ElemData &e, unsigned int neqn, const std::vector< double > &f_local, std::vector< double > &f)
 
template<typename FadType >
double fad_adj_fill (unsigned int num_nodes, unsigned int num_eqns, unsigned int num_cols, double mesh_spacing)
 
double rad_adj_fill (unsigned int num_nodes, unsigned int num_eqns, unsigned int num_cols, double mesh_spacing)
 
double vrad_adj_fill (unsigned int num_nodes, unsigned int num_eqns, unsigned int num_cols, double mesh_spacing)
 
double analytic_adj_fill (unsigned int num_nodes, unsigned int num_eqns, unsigned int num_cols, double mesh_spacing)
 
double residual_fill (unsigned int num_nodes, unsigned int num_eqns, unsigned int num_cols, double mesh_spacing)
 
int main (int argc, char *argv[])
 

Typedef Documentation

typedef Sacado::Rad::ADvar<double> RadType

Definition at line 48 of file rad_fe_adj_fill.cpp.

Definition at line 49 of file rad_fe_adj_fill.cpp.

Function Documentation

template<class FadType >
void fad_init_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  x,
const std::vector< std::vector< double > > &  w,
std::vector< FadType > &  x_fad,
std::vector< std::vector< double > > &  w_local 
)

Definition at line 80 of file rad_fe_adj_fill.cpp.

void rad_init_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  x,
const std::vector< std::vector< double > > &  w,
std::vector< RadType > &  x_rad,
std::vector< std::vector< double > > &  w_local 
)

Definition at line 97 of file rad_fe_adj_fill.cpp.

void vrad_init_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  x,
const std::vector< std::vector< double > > &  w,
std::vector< VRadType > &  x_rad,
double **  w_local 
)

Definition at line 113 of file rad_fe_adj_fill.cpp.

void analytic_init_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  x,
const std::vector< std::vector< double > > &  w,
std::vector< double > &  x_local,
std::vector< std::vector< double > > &  w_local 
)

Definition at line 155 of file rad_fe_adj_fill.cpp.

template<class T >
void template_element_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< T > &  x,
std::vector< T > &  u,
std::vector< T > &  du,
std::vector< T > &  f 
)

Definition at line 172 of file rad_fe_adj_fill.cpp.

void analytic_element_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  x,
std::vector< std::vector< double > > &  w,
std::vector< double > &  u,
std::vector< double > &  du,
std::vector< double > &  f,
std::vector< std::vector< double > > &  adj 
)

Definition at line 218 of file rad_fe_adj_fill.cpp.

template<class FadType >
void fad_process_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< std::vector< double > > &  w_local,
const std::vector< FadType > &  f_fad,
std::vector< double > &  f,
std::vector< std::vector< double > > &  adj 
)

Definition at line 285 of file rad_fe_adj_fill.cpp.

void rad_process_fill ( const ElemData e,
unsigned int  neqn,
std::vector< std::vector< double > > &  w_local,
std::vector< RadType > &  x_rad,
std::vector< RadType > &  f_rad,
std::vector< RadType * > &  ff_rad,
std::vector< double > &  f,
std::vector< std::vector< double > > &  adj 
)

Definition at line 309 of file rad_fe_adj_fill.cpp.

void vrad_process_fill ( const ElemData e,
unsigned int  neqn,
unsigned int  ncol,
std::vector< std::size_t > &  vn,
double **  w_local,
std::vector< VRadType > &  x_rad,
std::vector< VRadType > &  f_rad,
VRadType ***  vf_rad,
std::vector< double > &  f,
std::vector< std::vector< double > > &  adj 
)

Definition at line 333 of file rad_fe_adj_fill.cpp.

void analytic_process_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  f_local,
const std::vector< std::vector< double > > &  adj_local,
std::vector< double > &  f,
std::vector< std::vector< double > > &  adj 
)

Definition at line 394 of file rad_fe_adj_fill.cpp.

void residual_process_fill ( const ElemData e,
unsigned int  neqn,
const std::vector< double > &  f_local,
std::vector< double > &  f 
)

Definition at line 410 of file rad_fe_adj_fill.cpp.

template<typename FadType >
double fad_adj_fill ( unsigned int  num_nodes,
unsigned int  num_eqns,
unsigned int  num_cols,
double  mesh_spacing 
)

Definition at line 420 of file rad_fe_adj_fill.cpp.

double rad_adj_fill ( unsigned int  num_nodes,
unsigned int  num_eqns,
unsigned int  num_cols,
double  mesh_spacing 
)

Definition at line 476 of file rad_fe_adj_fill.cpp.

double vrad_adj_fill ( unsigned int  num_nodes,
unsigned int  num_eqns,
unsigned int  num_cols,
double  mesh_spacing 
)

Definition at line 535 of file rad_fe_adj_fill.cpp.

double analytic_adj_fill ( unsigned int  num_nodes,
unsigned int  num_eqns,
unsigned int  num_cols,
double  mesh_spacing 
)

Definition at line 759 of file rad_fe_adj_fill.cpp.

double residual_fill ( unsigned int  num_nodes,
unsigned int  num_eqns,
unsigned int  num_cols,
double  mesh_spacing 
)

Definition at line 820 of file rad_fe_adj_fill.cpp.

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

Definition at line 866 of file rad_fe_adj_fill.cpp.