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 peano4.visualisation.input.PatchFileParser.PatchFileParser::__parse_meta_data_region(), peano4.visualisation.input.PatchFileParser.PatchFileParser::__parse_patch_region(), exahype2.symhype.PDE.PDE::_implementation_of_mapping_onto_named_quantities(), peano4.visualisation.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(), exahype2.symhype.FirstOrderConservativePDEFormulation.FirstOrderConservativePDEFormulation::implementation_of_eigenvalues(), exahype2.symhype.FirstOrderConservativePDEFormulation.FirstOrderConservativePDEFormulation::implementation_of_flux(), exahype2.symhype.FirstOrderConservativePDEFormulation.FirstOrderConservativePDEFormulation::implementation_of_max_eigenvalue(), exahype2.symhype.FirstOrderConservativePDEFormulation.FirstOrderConservativePDEFormulation::implementation_of_ncp(), api.solvers.DiscontinuousGalerkinDiscretisation.DiscontinuousGalerkinDiscretisation::nodes_per_cell(), api.solvers.DiscontinuousGalerkinDiscretisation.DiscontinuousGalerkinDiscretisation::nodes_per_face(), and peano4.visualisation.input.PatchFileParser.PatchFileParser::parse_file().

◆ dofsPerAxis

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

Definition at line 24 of file Variable.h.

◆ name

◆ type

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

Definition at line 32 of file Variable.h.

Referenced by exahype2.kerneldsl.SyntaxTree.Name::get_type().

◆ unknowns


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