VTK  9.4.20250125
vtkDGCellSourceResponder.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
10#ifndef vtkDGCellSourceResponder_h
11#define vtkDGCellSourceResponder_h
12
13#include "vtkFiltersCellGridModule.h" // for export macro
14
15#include "vtkCellGridCellSource.h" // for inheritance
17
18VTK_ABI_NAMESPACE_BEGIN
19class vtkCellMetadata;
20class vtkDGCell;
21
22class VTKFILTERSCELLGRID_EXPORT vtkDGCellSourceResponder
23 : public vtkCellGridResponder<vtkCellGridCellSource::Query>
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31 vtkCellGridResponders* caches) override;
32
33protected:
35 ~vtkDGCellSourceResponder() override = default;
36
37 void CreateCellAttribute(vtkDGCell* dgCell, vtkStringToken cellTypeToken,
38 const std::string& fieldName, vtkStringToken space, int numberOfComponents,
39 vtkStringToken functionSpace, vtkStringToken basis, int order, vtkIdType numberOfValues,
40 int basisSize = 1, vtkStringToken dofSharing = vtkStringToken{});
41
42private:
44 void operator=(const vtkDGCellSourceResponder&) = delete;
45};
46
47VTK_ABI_NAMESPACE_END
48#endif // vtkDGCellSourceResponder_h
49// VTK-HeaderTest-Exclude: vtkDGCellSourceResponder.h
basis[0]
Definition CellC0Basis.h:1
A cell-grid query used by this filter.
Respond to a query on one particular type of cell.
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Metadata for a particular type of cell (finite element).
Respond to a query on one particular type of cell.
void CreateCellAttribute(vtkDGCell *dgCell, vtkStringToken cellTypeToken, const std::string &fieldName, vtkStringToken space, int numberOfComponents, vtkStringToken functionSpace, vtkStringToken basis, int order, vtkIdType numberOfValues, int basisSize=1, vtkStringToken dofSharing=vtkStringToken{})
vtkDGCellSourceResponder()=default
bool Query(vtkCellGridCellSource::Query *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches) override
~vtkDGCellSourceResponder() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDGCellSourceResponder * New()
Base class for a discontinuous Galerkin cells of all shapes.
Definition vtkDGCell.h:44
a simple class to control print indentation
Definition vtkIndent.h:108
Represent a string by its integer hash.
int vtkIdType
Definition vtkType.h:315