Peano
Loading...
Searching...
No Matches
convert::data::Variable Class Reference

Represents one variable that is subsequently attached to the patches of a file. More...

#include <Variable.h>

Collaboration diagram for convert::data::Variable:

Public Member Functions

 Variable (std::string name_, int dofsPerAxis_, int unknowns_, PeanoDataType type_, int dimensions_)
bool operator< (const convert::data::Variable &rhs) const
bool operator== (const convert::data::Variable &rhs) const
int getTotalNumberOfQuantitiesPerPatch () const
 This is getTotalNumberOfDofsPerPatch() times the number of unknowns per dof.
int getTotalNumberOfDofsPerPatch () const
int getVerticesPerAxisInCartesianMesh () const
int getTotalNumberOfVerticesInCartesianMesh () const
int getTotalNumberOfCellsInCartesianMesh () const
std::string toString () const

Data Fields

const std::string name
const int dofsPerAxis
const int unknowns
 If this unknown holds 1, it is scalar, for d it is vector data, and so forth.
const PeanoDataType type
const int dimensions

Detailed Description

Represents one variable that is subsequently attached to the patches of a file.

Definition at line 18 of file Variable.h.

Constructor & Destructor Documentation

◆ Variable()

convert::data::Variable::Variable ( std::string name_,
int dofsPerAxis_,
int unknowns_,
PeanoDataType type_,
int dimensions_ )

Member Function Documentation

◆ getTotalNumberOfCellsInCartesianMesh()

int convert::data::Variable::getTotalNumberOfCellsInCartesianMesh ( ) const

◆ getTotalNumberOfDofsPerPatch()

int convert::data::Variable::getTotalNumberOfDofsPerPatch ( ) const

◆ getTotalNumberOfQuantitiesPerPatch()

int convert::data::Variable::getTotalNumberOfQuantitiesPerPatch ( ) const

This is getTotalNumberOfDofsPerPatch() times the number of unknowns per dof.

◆ getTotalNumberOfVerticesInCartesianMesh()

int convert::data::Variable::getTotalNumberOfVerticesInCartesianMesh ( ) const

◆ getVerticesPerAxisInCartesianMesh()

int convert::data::Variable::getVerticesPerAxisInCartesianMesh ( ) const

◆ operator<()

bool convert::data::Variable::operator< ( const convert::data::Variable & rhs) const

◆ operator==()

bool convert::data::Variable::operator== ( const convert::data::Variable & rhs) const

◆ toString()

std::string convert::data::Variable::toString ( ) const

Field Documentation

◆ dimensions

const int convert::data::Variable::dimensions

Definition at line 34 of file Variable.h.

Referenced by tarch.plotter.api.input.PatchFileParser.PatchFileParser::__parse_meta_data_region(), tarch.plotter.api.input.PatchFileParser.PatchFileParser::__parse_patch_region(), tarch.plotter.api.input.PatchFileParser.PatchFileParser::__record_doubles_per_patch(), tarch.plotter.api.input.PatchFileParser.UnknownAttributes::_initialise_default_mapping_if_no_mapping_specified(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::convert_index_to_dim(), equations.euler.Euler::eigenvalues(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::eval_integral(), equations.elastic.Elastic::flux(), equations.euler.Euler::flux(), mghype.api.matrixgenerators.GaussLobatto.GaussLobattoMatrixFree::get_boundary_matrix(), mghype.api.matrixgenerators.GaussLobatto.GaussLobattoMatrixFree::get_cell_from_face_matrix(), mghype.api.matrixgenerators.DLinear.DLinear::get_cell_identity_matrix(), mghype.api.matrixgenerators.DLinearMassIdentity.DLinearMassIdentity::get_cell_identity_matrix(), mghype.api.matrixgenerators.DLinear.DLinear::get_cell_mass_matrix(), mghype.api.matrixgenerators.DLinear.DLinear::get_cell_system_matrix_for_laplacian(), mghype.api.matrixgenerators.DLinearMassIdentity.DLinearMassIdentity::get_cell_system_matrix_for_laplacian(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::get_deriv(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::get_points_for_dimension(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::get_polynomial(), mghype.api.matrixgenerators.GaussLobatto.GaussLobattoMatrixFree::get_projection_matrices(), mghype.api.matrixgenerators.MatrixGenerator.MatrixGenerator::get_weights_for_dimension(), matrices.DgGenerator::getCellToFaceMatrix(), api.solvers.DiscontinuousGalerkinDiscretisation.DiscontinuousGalerkinDiscretisation::nodes_per_cell(), api.solvers.DiscontinuousGalerkinDiscretisation.DiscontinuousGalerkinDiscretisation::nodes_per_face(), and tarch.plotter.api.input.PatchFileParser.PatchFileParser::parse_file().

◆ dofsPerAxis

const int convert::data::Variable::dofsPerAxis

Definition at line 24 of file Variable.h.

◆ name

const std::string convert::data::Variable::name

Definition at line 22 of file Variable.h.

Referenced by solvers.aderdg.kernels.Gemms.Gemms::__init__(), solvers.aderdg.kernels.Gemms.Gemms::__repr__(), test_derive_load_store_compute_flag._FakeSubmodel::__repr__(), test_propagate_use_statements._FakeSubmodel::__repr__(), exaparty.api.particle.ExplicitEulerFixedSearchRadius.ExplicitEulerFixedSearchRadius::__setup_algorithm_steps(), exaparty.api.particle.AlgorithmStep.AlgorithmStep::__str__(), exahype2.api.Solver.Solver.Plotter::_add_time_interval_bookkeeping_to_solver(), exaparty.api.particle.Particle.Particle::_dependency_checks_modify_steps(), exagrype.api.CCZ4SolverBase.CCZ4SolverBase::_insert_constraint_enforcement(), exaparty.api.particle.LeapfrogFixedSearchRadius.LeapfrogFixedSearchRadius::_setup_algorithm_steps_dict(), exagrype.api.CCZ4SolverBase.CCZ4SolverBase::_tasks_of_this_solver(), peano4.api.datamodel.DoF.DoF::additional_load_and_store_arguments_for_other_dof(), exaparty.api.particle.ExplicitEulerDynamicSearchRadius.ExplicitEulerDynamicSearchRadius::algorithm_steps(), exaparty.api.particle.tests.DastgenTestDummyParticle.DastgenTestDummyParticle::algorithm_steps(), exaparty.api.particle.tests.DisappearingParticleTest.DisappearingParticleTest::algorithm_steps(), exaparty.api.particle.tests.testLeapfrogFixedTimeStepSize.testLeapfrogFixedTimeStepSize::algorithm_steps(), exahype2.api.dslhype2.Expressions.Variable::convert_indices_to_integers(), exahype2.api.dslhype2.Expressions.Variable::convert_integers_to_indices(), exahype2.api.Solver.Solver.Plotter::create_finish_call(), exahype2.api.Solver.Solver.Plotter::create_is_active_predicate(), exagrype.api.FOSOReconstructionSolver.FOSOReconstructionSolver::create_task_graph(), peano4.api.solversteps.UserActionSet.UserActionSet::get_action_set_name(), peano4.api.taskgraph.compiler.fuse-steps-illustrations._IllustrationActionSet::get_action_set_name(), test_fuse_steps._FakeActionSet::get_action_set_name(), peano4.api.datamodel.DoF.DoF::get_full_qualified_type(), peano4.api.datamodel.DoF.DoF::get_logical_type_name(), exahype2.api.dslhype2.Expressions.Variable::get_name(), peano4.api.solversteps.Step.Step::get_observer_class_name(), dastgen2.attributes.Enumeration.Enumeration::get_to_string(), exahype2.api.dslhype2.Expressions.Variable::get_type(), exahype2.api.dslhype2.Expressions.Variable::get_value(), and exaparty.api.particle.Particle.Particle::readme_descriptor().

◆ type

const PeanoDataType convert::data::Variable::type

Definition at line 32 of file Variable.h.

Referenced by exahype2.api.dslhype.SyntaxTree.Name::get_type().

◆ unknowns

const int convert::data::Variable::unknowns

If this unknown holds 1, it is scalar, for d it is vector data, and so forth.

Definition at line 30 of file Variable.h.

Referenced by tarch.plotter.api.input.PatchFileParser.UnknownAttributes::set_unknowns(), and tarch.plotter.api.input.PatchFileParser.UnknownAttributes::unknown_names().


The documentation for this class was generated from the following file: