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