PolyFEM
|
#include <StokesProblem.hpp>
Public Member Functions | |
Kovnaszy (const std::string &name) | |
bool | has_exact_sol () const override |
bool | is_rhs_zero () const override |
bool | is_scalar () const override |
bool | is_time_dependent () const override |
void | initial_solution (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &pts, Eigen::MatrixXd &val) const override |
void | set_parameters (const json ¶ms) override |
void | exact (const Eigen::MatrixXd &pts, const double t, Eigen::MatrixXd &val) const override |
void | exact_grad (const Eigen::MatrixXd &pts, const double t, Eigen::MatrixXd &val) const override |
void | rhs (const assembler::Assembler &assembler, const Eigen::MatrixXd &pts, const double t, Eigen::MatrixXd &val) const override |
void | dirichlet_bc (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &uv, const Eigen::MatrixXd &pts, const double t, Eigen::MatrixXd &val) const override |
Public Member Functions inherited from polyfem::assembler::Problem | |
Problem (const std::string &name) | |
virtual void | set_units (const assembler::Assembler &assembler, const Units &units) |
virtual | ~Problem () |
virtual void | init (const mesh::Mesh &mesh) |
const std::string & | name () const |
virtual void | neumann_bc (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &uv, const Eigen::MatrixXd &pts, const Eigen::MatrixXd &normals, const double t, Eigen::MatrixXd &val) const |
virtual void | pressure_bc (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &uv, const Eigen::MatrixXd &pts, const Eigen::MatrixXd &normals, const double t, Eigen::MatrixXd &val) const |
virtual double | pressure_cavity_bc (const int boundary_id, const double t) const |
virtual bool | is_boundary_pressure (const int boundary_id) const |
virtual void | dirichlet_nodal_value (const mesh::Mesh &mesh, const int node_id, const RowVectorNd &pt, const double t, Eigen::MatrixXd &val) const |
virtual void | neumann_nodal_value (const mesh::Mesh &mesh, const int node_id, const RowVectorNd &pt, const Eigen::MatrixXd &normal, const double t, Eigen::MatrixXd &val) const |
virtual bool | is_nodal_dirichlet_boundary (const int n_id, const int tag) |
virtual bool | is_nodal_neumann_boundary (const int n_id, const int tag) |
virtual bool | has_nodal_dirichlet () |
virtual bool | has_nodal_neumann () |
virtual void | clear () |
virtual bool | is_constant_in_time () const |
virtual void | initial_velocity (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &pts, Eigen::MatrixXd &val) const |
virtual void | initial_acceleration (const mesh::Mesh &mesh, const Eigen::MatrixXi &global_ids, const Eigen::MatrixXd &pts, Eigen::MatrixXd &val) const |
virtual void | initial_density (const Eigen::MatrixXd &pts, Eigen::MatrixXd &val) const |
virtual bool | might_have_no_dirichlet () |
virtual bool | is_dimension_dirichet (const int tag, const int dim) const |
virtual bool | is_nodal_dimension_dirichlet (const int n_id, const int tag, const int dim) const |
virtual bool | all_dimensions_dirichlet () const |
void | setup_bc (const mesh::Mesh &mesh, const int n_bases, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &geom_bases, const std::vector< basis::ElementBases > &pressure_bases, std::vector< mesh::LocalBoundary > &local_boundary, std::vector< int > &boundary_nodes, std::vector< mesh::LocalBoundary > &local_neumann_boundary, std::vector< mesh::LocalBoundary > &local_pressure_boundary, std::unordered_map< int, std::vector< mesh::LocalBoundary > > &local_pressure_cavity, std::vector< int > &pressure_boundary_nodes, std::vector< int > &dirichlet_nodes, std::vector< int > &neumann_nodes) |
virtual void | update_nodes (const Eigen::VectorXi &in_node_to_node) |
Public Attributes | |
double | viscosity_ |
bool | is_time_dependent_ |
Additional Inherited Members | |
Protected Attributes inherited from polyfem::assembler::Problem | |
std::vector< int > | boundary_ids_ |
std::vector< int > | neumann_boundary_ids_ |
std::vector< int > | normal_aligned_neumann_boundary_ids_ |
std::vector< int > | pressure_boundary_ids_ |
std::vector< int > | pressure_cavity_ids_ |
std::vector< int > | splitting_pressure_boundary_ids_ |
Definition at line 126 of file StokesProblem.hpp.
polyfem::problem::Kovnaszy::Kovnaszy | ( | const std::string & | name | ) |
Definition at line 393 of file StokesProblem.cpp.
References polyfem::assembler::Problem::boundary_ids_, and is_time_dependent_.
|
overridevirtual |
Implements polyfem::assembler::Problem.
Definition at line 462 of file StokesProblem.cpp.
|
overridevirtual |
Reimplemented from polyfem::assembler::Problem.
Definition at line 417 of file StokesProblem.cpp.
References val, viscosity_, x, and y.
Referenced by dirichlet_bc(), and initial_solution().
|
overridevirtual |
Reimplemented from polyfem::assembler::Problem.
Definition at line 440 of file StokesProblem.cpp.
References val, viscosity_, x, and y.
|
inlineoverridevirtual |
Implements polyfem::assembler::Problem.
Definition at line 131 of file StokesProblem.hpp.
|
overridevirtual |
Reimplemented from polyfem::assembler::Problem.
Definition at line 400 of file StokesProblem.cpp.
|
inlineoverridevirtual |
Implements polyfem::assembler::Problem.
Definition at line 132 of file StokesProblem.hpp.
|
inlineoverridevirtual |
Implements polyfem::assembler::Problem.
Definition at line 133 of file StokesProblem.hpp.
|
inlineoverridevirtual |
Reimplemented from polyfem::assembler::Problem.
Definition at line 134 of file StokesProblem.hpp.
References is_time_dependent_.
|
overridevirtual |
Implements polyfem::assembler::Problem.
Definition at line 456 of file StokesProblem.cpp.
References val.
|
overridevirtual |
Reimplemented from polyfem::assembler::Problem.
Definition at line 405 of file StokesProblem.cpp.
References is_time_dependent_, and viscosity_.
bool polyfem::problem::Kovnaszy::is_time_dependent_ |
Definition at line 148 of file StokesProblem.hpp.
Referenced by is_time_dependent(), Kovnaszy(), and set_parameters().
double polyfem::problem::Kovnaszy::viscosity_ |
Definition at line 147 of file StokesProblem.hpp.
Referenced by exact(), exact_grad(), and set_parameters().