#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2020 CEA/DEN, EDF R&D
+# Copyright (C) 2007-2021 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
value = [1.0]*nb_local
parafield.getField().setValue(value)
- icocofield = ICoCo_MEDField(paramesh,parafield)
+ icocofield = ICoCoMEDDoubleField(paramesh,parafield)
dec.attachLocalField(icocofield,'P0')
pass
value = [0.0]*nb_local
parafield.getField().setValue(value)
- icocofield = ICoCo_MEDField(paramesh,parafield)
+ icocofield = ICoCoMEDDoubleField(paramesh,parafield)
dec.attachLocalField(icocofield, 'P0')
pass