1 #ifndef __GRID_REFINEMENT_CONTINUOUS_H__ 2 #define __GRID_REFINEMENT_CONTINUOUS_H__ 4 #include "grid_refinement/grid_refinement.h" 8 namespace GridRefinement {
33 template <
int dim,
int nstate,
typename real,
typename MeshType = dealii::Triangulation<dim>>
35 template <
int dim,
int nstate,
typename real,
typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
326 #endif // __GRID_REFINEMENT_CONTINUOUS_H__ void field_h_error()
Generate mesh distribution based on manufactured solution.
void target_complexity()
Updates the complexity target based on the current refinement iteration.
std::unique_ptr< Field< dim, real > > h_field
Continuous representation of the mesh size and anisotropy distribution.
Base class from which Advection, Diffusion, ConvectionDiffusion, and Euler is derived.
void refine_grid_msh()
Generates an output .msh file with matrix information about the target frame field.
Files for the baseline physics.
void refine_grid_p()
Updates the global polynomial distribution based on the target -field.
GridRefinement_Continuous(PHiLiP::Parameters::GridRefinementParam gr_param_input, std::shared_ptr< PHiLiP::Adjoint< dim, nstate, real, MeshType > > adj_input, std::shared_ptr< PHiLiP::Physics::PhysicsBase< dim, nstate, real > > physics_input)
Constructor. Stores the adjoint object, physics and parameters.
void field_hp_error()
(NOT IMPLEMENTED) Generate mesh and polynomial distribution based on manufactured solution ...
void field_hp_residual()
(NOT IMPLEMENTED) Generate mesh and polynomial distribution based on fine-grid residual distribution ...
void field_hp_hessian()
(NOT IMPLEMENTED) Generate mesh and polynomial distribution based on directional derivatives ...
void field()
Updates the continuous mesh and polynomial distribution.
void get_current_field_p()
Evaluates the polynomial distribution for the current mesh.
real complexity_target
Current complexity target.
void refine_grid_gmsh()
Generates a new mesh based on GMSH using .pos and .geo files for i/o.
real current_complexity()
Evaluates the current complexity of the mesh.
void field_p_hessian()
(NOT IMPLEMENTED) Generate polynomial distribution based on directinal derivatives ...
Continuous Grid Refinement Class.
Base Grid Refinement Class.
void field_hp_adjoint()
(NOT IMPLEMENTED) Generate mesh and polynomial distribution based on dual-weighted residual distribut...
void field_p_residual()
(NOT IMPLEMENTED) Generate polynomial distribution based on fine-grid residual distribution ...
void refine_grid() override
Perform call to the grid refinement object of choice.
void field_p_error()
(NOT IMPLEMENTED) Generate polynomial distribution based on manufactured solution ...
dealii::Vector< real > p_field
Continuous representation of the polynomial distribution.
Parameters related to individual grid refinement run.
real complexity_initial
Initial mesh complexity at construction.
void field_p_adjoint()
(NOT IMPLEMENTED) Generate polynomial distribution based on dual-weighted residual distribution ...
void field_h_adjoint()
Generate mesh distribution based on dual-weighted residual distribution.
std::vector< std::pair< dealii::Vector< real >, std::string > > output_results_vtk_method() override
Output refinement method dependent results.
void refine_grid_h()
Performs call to global remeshing method.
void field_h_hessian()
Generate mesh distribution based on directional derivatives.
void refine_grid_hp()
(NOT IMPLEMENTED) Performs call to global remeshing method with updated polynomial distribution ...
DGBase is independent of the number of state variables.
void get_current_field_h()
Evaluates the mesh size and ansitropy description for the current mesh.
std::vector< real > complexity_vector
Vector of complexity target goals for each iteration.
void field_h_residual()
(NOT IMPLEMENTED) Generate mesh distribution based on fine-grid residual distribution ...