Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include "Sacado_No_Kokkos.hpp"
#include "Sacado_tradvec.hpp"
#include "Teuchos_Time.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
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 Sacado::Rad::ADvar<double> RadType |
Definition at line 69 of file rad_fe_adj_fill.cpp.
typedef Sacado::RadVec::ADvar<double> VRadType |
Definition at line 70 of file rad_fe_adj_fill.cpp.
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 101 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 118 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 134 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 176 of file rad_fe_adj_fill.cpp.
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 193 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 239 of file rad_fe_adj_fill.cpp.
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 306 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 330 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 354 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 415 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 431 of file rad_fe_adj_fill.cpp.
double fad_adj_fill | ( | unsigned int | num_nodes, |
unsigned int | num_eqns, | ||
unsigned int | num_cols, | ||
double | mesh_spacing | ||
) |
Definition at line 441 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 497 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 556 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 780 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 841 of file rad_fe_adj_fill.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 887 of file rad_fe_adj_fill.cpp.