40 #ifndef vtkYoungsMaterialInterface_h 41 #define vtkYoungsMaterialInterface_h 43 #include "vtkFiltersGeneralModule.h" 51 class vtkYoungsMaterialInterfaceInternals;
107 vtkBooleanMacro(UseFractionAsDistance,
vtkTypeBool);
123 vtkSetVector2Macro(VolumeFractionRange,
double);
124 vtkGetVectorMacro(VolumeFractionRange,
double,2);
131 virtual void SetNumberOfMaterials(
int n);
132 virtual int GetNumberOfMaterials();
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 );
157 virtual void SetMaterialVolumeFractionArray(
int i,
const char* volume );
158 virtual void SetMaterialNormalArray(
int i,
const char* normal );
159 virtual void SetMaterialOrderingArray(
int i,
const char* ordering );
165 virtual void RemoveAllMaterials();
176 virtual void SetMaterialNormalArray(
const char* volume,
const char* normal);
177 virtual void SetMaterialOrderingArray(
const char* volume,
const char* ordering);
184 virtual void RemoveAllMaterialBlockMappings();
185 virtual void AddMaterialBlockMapping(
int b);
205 virtual void Aggregate (
int,
int* );
207 void UpdateBlockMapping();
209 int CellProduceInterface(
int dim,
int np,
double fraction,
double minFrac,
double maxFrac );
221 double VolumeFractionRange[2];
vtkTypeBool UseFractionAsDistance
Read-Write Properties.
vtkYoungsMaterialInterfaceInternals * Internals
int NumberOfDomains
Read only properties.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
dynamic, self-adjusting array of int
vtkTypeBool OnionPeel
Read-Write Properties.
a simple class to control print indentation
vtkSmartPointer< vtkIntArray > MaterialBlockMapping
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
reconstructs material interfaces
vtkTypeBool ReverseMaterialOrder
Read-Write Properties.
vtkTypeBool FillMaterial
Read-Write Properties.
vtkTypeBool InverseNormal
Read-Write Properties.
vtkTypeBool AxisSymetric
Read-Write Properties.