HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
#include <fstream>
#include <iomanip>
#include <thread>
#include "xdivdiv-test.hpp"
#include <parallel_for.hpp>
#include "vtu_writer.hpp"
#include <boost/program_options.hpp>
#include <boost/timer/timer.hpp>
Macros | |
#define | FORMAT(W) std::setiosflags(std::ios_base::left) << std::setw(W) << std::setfill(' ') |
Functions | |
double | compute_divdiv_error (const XDivDiv &xdivdiv, const Eigen::VectorXd &tauI, const std::function< double(const Vector2d &)> &divdiv_tau) |
double | compute_interp_edge_error (const XDivDiv &xdivdiv, const Eigen::VectorXd &tauI, KirchhoffLove::MomentTensorType tau) |
double | compute_potential_error (const XDivDiv &xdivdiv, const Eigen::VectorXd &tauI, KirchhoffLove::MomentTensorType tau) |
double | compute_L2product_error (const XDivDiv &xdivdiv, const Eigen::VectorXd &tauI, KirchhoffLove::MomentTensorType tau, const double &stab_par) |
int | main (int argc, const char *argv[]) |
Variables | |
const std::string | mesh_dir = "../../typ2_meshes/" |
std::string | default_mesh = mesh_dir + "hexa1_1.typ2" |
#define FORMAT | ( | W | ) | std::setiosflags(std::ios_base::left) << std::setw(W) << std::setfill(' ') |
double compute_divdiv_error | ( | const XDivDiv & | xdivdiv, |
const Eigen::VectorXd & | tauI, | ||
const std::function< double(const Vector2d &)> & | divdiv_tau | ||
) |
double compute_interp_edge_error | ( | const XDivDiv & | xdivdiv, |
const Eigen::VectorXd & | tauI, | ||
KirchhoffLove::MomentTensorType | tau | ||
) |
double compute_L2product_error | ( | const XDivDiv & | xdivdiv, |
const Eigen::VectorXd & | tauI, | ||
KirchhoffLove::MomentTensorType | tau, | ||
const double & | stab_par | ||
) |
double compute_potential_error | ( | const XDivDiv & | xdivdiv, |
const Eigen::VectorXd & | tauI, | ||
KirchhoffLove::MomentTensorType | tau | ||
) |
int main | ( | int | argc, |
const char * | argv[] | ||
) |
std::string default_mesh = mesh_dir + "hexa1_1.typ2" |
const std::string mesh_dir = "../../typ2_meshes/" |