#include <AAdapt_SPRSizeField.hpp>
Public Member Functions | |
SPRSizeField (const Teuchos::RCP< AlbPUMI::AbstractPUMIDiscretization > &disc) | |
~SPRSizeField () | |
double | getValue (ma::Entity *v) |
int | getCubatureDegree (int num_qp) |
void | setParams (const Epetra_Vector *sol, const Epetra_Vector *ovlp_sol, double element_size, double err_bound, const std::string state_var_name) |
void | computeError () |
Private Member Functions | |
void | getFieldFromStateVariable (apf::Field *eps) |
void | computeErrorFromRecoveredGradients () |
void | computeErrorFromStateVariable () |
Private Attributes | |
apf::Mesh2 * | mesh |
apf::Field * | field |
Albany::StateArrayVec & | esa |
Albany::WsLIDList & | elemGIDws |
Teuchos::RCP< const Epetra_Comm > | comm |
const Epetra_Vector * | solution |
const Epetra_Vector * | ovlp_solution |
std::string | sv_name |
double | rel_err |
int | num_qp |
int | cub_degree |
Definition at line 17 of file AAdapt_SPRSizeField.hpp.
AAdapt::SPRSizeField::SPRSizeField | ( | const Teuchos::RCP< AlbPUMI::AbstractPUMIDiscretization > & | disc | ) |
Definition at line 16 of file AAdapt_SPRSizeField.cpp.
AAdapt::SPRSizeField::~SPRSizeField | ( | ) |
Definition at line 24 of file AAdapt_SPRSizeField.cpp.
double AAdapt::SPRSizeField::getValue | ( | ma::Entity * | v | ) |
Definition at line 54 of file AAdapt_SPRSizeField.cpp.
int AAdapt::SPRSizeField::getCubatureDegree | ( | int | num_qp | ) |
Definition at line 58 of file AAdapt_SPRSizeField.cpp.
void AAdapt::SPRSizeField::setParams | ( | const Epetra_Vector * | sol, | |
const Epetra_Vector * | ovlp_sol, | |||
double | element_size, | |||
double | err_bound, | |||
const std::string | state_var_name | |||
) |
Definition at line 39 of file AAdapt_SPRSizeField.cpp.
void AAdapt::SPRSizeField::computeError | ( | ) |
Definition at line 28 of file AAdapt_SPRSizeField.cpp.
void AAdapt::SPRSizeField::getFieldFromStateVariable | ( | apf::Field * | eps | ) | [private] |
Definition at line 72 of file AAdapt_SPRSizeField.cpp.
void AAdapt::SPRSizeField::computeErrorFromRecoveredGradients | ( | ) | [private] |
Definition at line 93 of file AAdapt_SPRSizeField.cpp.
void AAdapt::SPRSizeField::computeErrorFromStateVariable | ( | ) | [private] |
Definition at line 104 of file AAdapt_SPRSizeField.cpp.
apf::Mesh2* AAdapt::SPRSizeField::mesh [private] |
Definition at line 37 of file AAdapt_SPRSizeField.hpp.
apf::Field* AAdapt::SPRSizeField::field [private] |
Definition at line 38 of file AAdapt_SPRSizeField.hpp.
Albany::StateArrayVec& AAdapt::SPRSizeField::esa [private] |
Definition at line 39 of file AAdapt_SPRSizeField.hpp.
Albany::WsLIDList& AAdapt::SPRSizeField::elemGIDws [private] |
Definition at line 40 of file AAdapt_SPRSizeField.hpp.
Teuchos::RCP<const Epetra_Comm> AAdapt::SPRSizeField::comm [private] |
Definition at line 42 of file AAdapt_SPRSizeField.hpp.
const Epetra_Vector* AAdapt::SPRSizeField::solution [private] |
Definition at line 43 of file AAdapt_SPRSizeField.hpp.
const Epetra_Vector* AAdapt::SPRSizeField::ovlp_solution [private] |
Definition at line 44 of file AAdapt_SPRSizeField.hpp.
std::string AAdapt::SPRSizeField::sv_name [private] |
Definition at line 46 of file AAdapt_SPRSizeField.hpp.
double AAdapt::SPRSizeField::rel_err [private] |
Definition at line 47 of file AAdapt_SPRSizeField.hpp.
int AAdapt::SPRSizeField::num_qp [private] |
Definition at line 49 of file AAdapt_SPRSizeField.hpp.
int AAdapt::SPRSizeField::cub_degree [private] |
Definition at line 50 of file AAdapt_SPRSizeField.hpp.