#include <weight_parameter_function.h>
|
| weight_parameter_function (libMesh::Mesh &alpha_mesh, double alpha_eps, double alpha_coupling_BIG, int subdomain_idx_BIG, int subdomain_idx_micro, int subdomain_idx_both, int subdomain_idx_coupling) |
|
| weight_parameter_function (libMesh::Mesh &alpha_mesh) |
|
| ~weight_parameter_function () |
|
void | set_parameters (double alpha_eps, double alpha_coupling_BIG, int subdomain_idx_BIG, int subdomain_idx_micro, int subdomain_idx_both, int subdomain_idx_coupling) |
|
void | set_parameters (std::string &filename) |
|
double | get_alpha (const libMesh::Point &qpoint, WeightFunctionSystemType system_type) |
|
double | get_alpha_BIG (const libMesh::Point &qpoint) |
|
double | get_alpha_micro (const libMesh::Point &qpoint) |
|
void | clear () |
|
Definition at line 13 of file weight_parameter_function.h.
weight_parameter_function::weight_parameter_function |
( |
libMesh::Mesh & |
alpha_mesh, |
|
|
double |
alpha_eps, |
|
|
double |
alpha_coupling_BIG, |
|
|
int |
subdomain_idx_BIG, |
|
|
int |
subdomain_idx_micro, |
|
|
int |
subdomain_idx_both, |
|
|
int |
subdomain_idx_coupling |
|
) |
| |
|
inline |
Definition at line 33 of file weight_parameter_function.h.
libMesh::Mesh & m_alpha_mesh
std::unique_ptr< libMesh::PointLocatorBase > m_locator_unique_ptr
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_BIG
double m_alpha_coupling_micro
weight_parameter_function::weight_parameter_function |
( |
libMesh::Mesh & |
alpha_mesh | ) |
|
|
inline |
Definition at line 48 of file weight_parameter_function.h.
libMesh::Mesh & m_alpha_mesh
std::unique_ptr< libMesh::PointLocatorBase > m_locator_unique_ptr
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_BIG
double m_alpha_coupling_micro
weight_parameter_function::~weight_parameter_function |
( |
| ) |
|
|
inline |
void weight_parameter_function::clear |
( |
| ) |
|
|
inline |
Definition at line 137 of file weight_parameter_function.h.
double get_alpha_BIG(const libMesh::Point &qpoint)
double get_alpha_micro(const libMesh::Point &qpoint)
double weight_parameter_function::get_alpha_BIG |
( |
const libMesh::Point & |
qpoint | ) |
|
|
inline |
Definition at line 154 of file weight_parameter_function.h.
157 const libMesh::Elem* elem = locator(qpoint);
std::unique_ptr< libMesh::PointLocatorBase > m_locator_unique_ptr
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_BIG
double weight_parameter_function::get_alpha_micro |
( |
const libMesh::Point & |
qpoint | ) |
|
|
inline |
Definition at line 180 of file weight_parameter_function.h.
183 const libMesh::Elem* elem = locator(qpoint);
std::unique_ptr< libMesh::PointLocatorBase > m_locator_unique_ptr
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_micro
void weight_parameter_function::set_parameters |
( |
double |
alpha_eps, |
|
|
double |
alpha_coupling_BIG, |
|
|
int |
subdomain_idx_BIG, |
|
|
int |
subdomain_idx_micro, |
|
|
int |
subdomain_idx_both, |
|
|
int |
subdomain_idx_coupling |
|
) |
| |
|
inline |
Definition at line 67 of file weight_parameter_function.h.
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_BIG
double m_alpha_coupling_micro
void weight_parameter_function::set_parameters |
( |
std::string & |
filename | ) |
|
|
inline |
Definition at line 81 of file weight_parameter_function.h.
84 field_parser.parse_input_file(filename,
"#",
"\n",
" \t\n");
86 if (field_parser.search(1,
"MacroDomainOnlyIdx")) {
93 if (field_parser.search(1,
"MicroDomainOnlyIdx")) {
100 if (field_parser.search(1,
"CouplingDomainIdx")) {
107 if (field_parser.search(1,
"BothDomainsIdx")) {
112 std::cout <<
" >> Warning: Both system's domain index not defined!" << std::endl;
115 if (field_parser.search(1,
"AlphaCouplingMacro")) {
119 }
else if (field_parser.search(1,
"AlphaCouplingMicro")) {
126 std::cout <<
" >> Warning: Coupling weights not defined, using 0.5 for both systems!" << std::endl;
129 if (field_parser.search(1,
"AlphaEps")) {
133 std::cout <<
" >> Warning: Alpha epsilon not defined, using 1e-2!" << std::endl;
int m_subdomain_idx_micro
int m_subdomain_idx_coupling
double m_alpha_coupling_BIG
double m_alpha_coupling_micro
double weight_parameter_function::m_alpha_coupling_BIG |
|
protected |
double weight_parameter_function::m_alpha_coupling_micro |
|
protected |
double weight_parameter_function::m_alpha_eps |
|
protected |
libMesh::Mesh& weight_parameter_function::m_alpha_mesh |
|
protected |
std::unique_ptr<libMesh::PointLocatorBase> weight_parameter_function::m_locator_unique_ptr |
|
protected |
int weight_parameter_function::m_subdomain_idx_BIG |
|
protected |
int weight_parameter_function::m_subdomain_idx_both |
|
protected |
int weight_parameter_function::m_subdomain_idx_coupling |
|
protected |
int weight_parameter_function::m_subdomain_idx_micro |
|
protected |
The documentation for this class was generated from the following file: