34 #ifndef vtkYoungsMaterialInterface_h
35 #define vtkYoungsMaterialInterface_h
37 #include "vtkFiltersGeneralModule.h"
45 class vtkYoungsMaterialInterfaceInternals;
120 vtkSetVector2Macro(VolumeFractionRange,
double);
121 vtkGetVectorMacro(VolumeFractionRange,
double, 2);
136 vtkSetMacro(UseAllBlocks,
bool);
137 vtkGetMacro(UseAllBlocks,
bool);
138 vtkBooleanMacro(UseAllBlocks,
bool);
146 vtkGetMacro(NumberOfDomains,
int);
155 const char* normalY,
const char* normalZ,
const char* ordering);
157 int i,
const char* volume,
const char* normal,
const char* ordering);
191 MAX_CELL_POINTS = 256
221 double VolumeFractionRange[2];
a simple class to control print indentation
dynamic, self-adjusting array of int
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
reconstructs material interfaces
vtkTypeBool UseFractionAsDistance
int NumberOfDomains
Read only properties.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkYoungsMaterialInterface() override
virtual void SetMaterialOrderingArray(int i, const char *ordering)
virtual void SetMaterialOrderingArray(const char *volume, const char *ordering)
virtual void SetMaterialNormalArray(int i, const char *normal)
virtual void RemoveAllMaterials()
Removes all materials previously added.
virtual void RemoveAllMaterialBlockMappings()
select blocks to be processed for each described material.
virtual void SetMaterialArrays(int i, const char *volume, const char *normalX, const char *normalY, const char *normalZ, const char *ordering)
Set ith Material arrays to be used as volume fraction, interface normal and material ordering.
vtkTypeBool InverseNormal
virtual void Aggregate(int, int *)
Serial implementation of the material aggregation.
vtkTypeBool FillMaterial
Read-Write Properties.
virtual void SetNumberOfMaterials(int n)
Sets/Gets the number of materials.
void UpdateBlockMapping()
virtual int GetNumberOfMaterials()
virtual void SetMaterialVolumeFractionArray(int i, const char *volume)
static vtkYoungsMaterialInterface * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkYoungsMaterialInterface()
int CellProduceInterface(int dim, int np, double fraction, double minFrac, double maxFrac)
virtual void SetMaterialArrays(int i, const char *volume, const char *normal, const char *ordering)
vtkYoungsMaterialInterfaceInternals * Internals
virtual void AddMaterialBlockMapping(int b)
virtual void SetMaterialNormalArray(const char *volume, const char *normal)
Alternative API for associating Normal and Ordering arrays to materials identified by its volume-frac...
vtkTypeBool ReverseMaterialOrder
vtkSmartPointer< vtkIntArray > MaterialBlockMapping
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.