mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated jump field construction of DataEntries
This commit is contained in:
@ -62,8 +62,13 @@ Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
fixedJumpFvPatchField<Type>(p, iF),
|
fixedJumpFvPatchField<Type>(p, iF),
|
||||||
jumpTable_(DataEntry<Type>::New("jumpTable", dict))
|
jumpTable_(new DataEntry<Type>("jumpTable"))
|
||||||
{
|
{
|
||||||
|
if (this->cyclicPatch().owner())
|
||||||
|
{
|
||||||
|
jumpTable_ = DataEntry<Type>::New("jumpTable", dict);
|
||||||
|
}
|
||||||
|
|
||||||
if (dict.found("value"))
|
if (dict.found("value"))
|
||||||
{
|
{
|
||||||
fvPatchField<Type>::operator=
|
fvPatchField<Type>::operator=
|
||||||
|
|||||||
@ -62,8 +62,13 @@ Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
fixedJumpAMIFvPatchField<Type>(p, iF),
|
fixedJumpAMIFvPatchField<Type>(p, iF),
|
||||||
jumpTable_(DataEntry<Type>::New("jumpTable", dict))
|
jumpTable_(new DataEntry<Type>("jumpTable"))
|
||||||
{
|
{
|
||||||
|
if (this->cyclicAMIPatch().owner())
|
||||||
|
{
|
||||||
|
jumpTable_ = DataEntry<Type>::New("jumpTable", dict);
|
||||||
|
}
|
||||||
|
|
||||||
if (dict.found("value"))
|
if (dict.found("value"))
|
||||||
{
|
{
|
||||||
fvPatchField<Type>::operator=(Field<Type>("value", dict, p.size()));
|
fvPatchField<Type>::operator=(Field<Type>("value", dict, p.size()));
|
||||||
|
|||||||
Reference in New Issue
Block a user