[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[newfield_revision] Patch: Support Multimaterials
From: |
Jeffrey Oldham |
Subject: |
[newfield_revision] Patch: Support Multimaterials |
Date: |
Fri, 3 Aug 2001 17:18:14 -0700 |
User-agent: |
Mutt/1.2.5i |
This patch finishes Stephen Smith's field revisions began today.
Fields have two dimensions: materials and centering values. We add
better support for determining the number of materials and centering
values as well as initializing fields. The underlying implementation
still makes differentiating a multimaterial field with one value per
material from a unimaterial field with a centering with multiple
values; this is on Scott's todo list.
Also, we add some error checking for centerings.
The newfield_revision branch is a development branch supporting
collaboration between filesystem-separated collaborators. Compilation
and correctness on the branch are not guaranteed at any time.
2001-08-03 Jeffrey D. Oldham <address@hidden> and
Stephen Smith <address@hidden>
* Field.h (Field::centering): Move definition.
(Field::numMaterials): New function.
* FieldCentering.h (Centering::operator[]): Add error checking.
(Centering::size()): Likewise.
* FieldEngine/FieldEngineBase.h:
(FieldEngineBase::num_materials_m): New member.
(FieldEngineBase::FieldEngineBase): Add num_materials_m
initialization.
(FieldEngineBase::initialize): Set centering_m and
num_materials_m.
(FieldEngineBase::addSubFields): Add error checking.
(FieldEngineBase::centeringSize): New function.
(FieldEngineBase::numMaterials): New function.
Tested on KCC Linux and sequential gcc 3.0 Linux
Approved by each other :)
Applied by newfield_revision
Thanks,
Jeffrey D. Oldham
address@hidden
03Aug.17.5c.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [newfield_revision] Patch: Support Multimaterials,
Jeffrey Oldham <=